Re: In stage1 bootstrap assembler claims Error: junk at end of line, first unrecognized character is `/'
Simon Richter <[email protected]> Mon, 13 Apr 2026 11:47:07 +0900
| Newsgroups | gmane.comp.gcc.help |
|---|---|
| Message-ID | <[email protected]> |
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.
Simon