Nope. The builtins not only vary between gcc versions, but they also have a nasty tendency to generate calls to library functions, sometimes
libgcc functions.  Hence -ffreestanding.

-ffreestanding will still generate calls to libgcc functions.
-ffreestanding doesn't disable _all_ of the C library, either.

No, it doesn't, but it does inhibit builtin functions, and so provides a
bit more ABI stability.

Yes, Linux should definitely be compiled with -ffreestanding,
it isn't a hosted application after all ;-)


Segher

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to