Anonymous user
Porting GCC to your OS: Difference between revisions
Jump to navigation
Jump to search
A short description of what GCC needs from the standard library
[unchecked revision] | [unchecked revision] |
m (whoops) |
(A short description of what GCC needs from the standard library) |
||
Line 12:
Then, you need a C standard library for your platform - at least those parts required by GCC.
To do this you need a [[C Library]] for your OS. GCC is fairly portable and needs the C standard library, and some extensions from POSIX. It needs fork and exec, for instance, to run the assembler and linker. You will need a C++ standard library (such as libstdc++) as GCC is now written in [[C++]].
Finally, you would use the cross-compiler to compile [[GCC]] ''to run on your platform''.
|