How to use -nostdlib?
Fri May 15 21:31:00 GMT 2015
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).
Of course! I took -nostdlib as if it was -ffreestanding (no libraries -
I looked at the man page, but didn't find a description for the option I
was thinking of.
More information about the Gcc-help