Re: suggestion for GCC (1)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Kai, Thank you so much for the reply.

But I did not understand, can we compile a C/Intel assembly program
(and link) without any standard library?(like libgcc)
or at least libgcc is required? If I link libgcc ONLY on command line,
then I can generate stand alone object files?

On Mon, Feb 7, 2011 at 1:56 PM, Kai Ruottu <kai.ruottu@xxxxxxxxxxx> wrote:
> 7.2.2011 12:23, Kai Ruottu kirjoitti:
>>
>> 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).
>
> Oops, of course this will succed for ANY target!  Getting at least
> 'libgcc' for the embedded targets then has always been possible!
>



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux