Re: In stage1 bootstrap assembler claims Error: junk at end of line, first unrecognized character is `/'
Dennis Clarke via Gcc-help <[email protected]> Mon, 13 Apr 2026 11:40:36 -0400
| Newsgroups | gmane.comp.gcc.help |
|---|---|
| Organization | GENUNIX |
| Message-ID | <[email protected]> |
On 4/12/26 22:47, Simon Richter wrote:
> Hi,
>
> On 4/10/26 4:47 PM, Dennis Clarke via Gcc-help wrote:
>
>> https://github.com/just-buildsystem/bootstrappable-toolchain/blob/
>> master/doc/BOOTSTRAP.md
>
> That is for a very old gcc. :P
>
> The general direction probably still holds:
>
> 1. build a "freestanding" compiler that only supports C, using the "all-
> host" target.
> 2. use that to build a kernel and libc.
> 3. with installed kernel and libc, compile the actual gcc with all
> languages.
>
> Most of the crt?.o files should be provided by the libc.
>
All the details are here :
https://gcc.gnu.org/pipermail/gcc-help/2026-April/144929.html
So as you see, GCC 4.2.1 is all I have working and the C runtime
files are provided. Those do not work during the bootstrap process.
--
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken