Subject: re: `-ffreestanding'
To: None <Richard.Earnshaw@buzzard.freeserve.co.uk>
From: matthew green <email@example.com>
Date: 07/16/2001 13:44:20
> i'm going to add this flag to LKM building, as well as the kernels for
> ports i can test. it disables internal `printf' prototype mismatch,
> as well as `main' warnings that -Wno-main does not get rid of.
Sadly this will also disable all builtin functions (in particular things
like builtin memcpy) unless we take steps to prevent this by adding
-fbuiltin *after* -ffreestanding.
unfortunately, we *don't* want the builtin `printf' because it's wrong.
these builtins should really have their own -fswitches each. :-(