Re: How to use -nostdlib?

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

 



On 15/05/15 23:17, Martin Sebor wrote:
On 05/15/2015 03:07 PM, Ángel González wrote:
I thought -nostlib disabled the printf(x"\n") to puts(x) optimization...

The -ffreestanding or -fno-builtin (or -fno-builtin-printf)
options will do that.

-nostdlib is a link time option (see the manual for details).

Martin

Of course! I took -nostdlib as if it was -ffreestanding (no libraries - free standing). I looked at the man page, but didn't find a description for the option I was thinking of.

Thanks, Martin






[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