Porting GCC to your OS - OSDev Wiki
Oct 19, 2019 · 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++ . Cross-compile libgmp, libmpc, libmpfr and other dependencies with instructions in Cross-Porting ...
DA: 68 PA: 55 MOZ Rank: 2