suggestion for GCC (1)
Kai Ruottu
kai.ruottu@wippies.com
Mon Feb 7 10:26:00 GMT 2011
7.2.2011 11:55, ali hagigat kirjoitti:
> A necessary feature for GCC is to compile C/Assembly programs without
> standard libraries for Intel architectures.
That feature has always existed I think, even producing the executables
for GCC without any kind of target C library during the build has been
possible for the embedded targets like 'i386-aout', 'i386-coff' and
'i386-elf' (for different object formats). The problem maybe being in
that the GCC build needs target headers when producing 'libgcc' for the
target and these plus the target libraries when configuring and
producing 'libstdc++' for the target in the system target like Linux
cases where the native GCC build is the default build type and so
everyone is expected to accept the existence of '/lib', '/usr/include',
'/usr/lib' etc. for the build/host/target systems during the GCC build.
Many crosscompiler builders then cannot grok the need of the target C
library during a GCC build for Linux :o(
More information about the Gcc-help
mailing list