Subject: Re: `-ffreestanding'
To: matthew green <mrg@eterna.com.au>
From: Richard Earnshaw <rearnsha@buzzard.freeserve.co.uk>
List: tech-kern
Date: 07/15/2001 22:02:33
> 
> 
> 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.


R.