[lkml]   [2004]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [2.6 patch] Use -ffreestanding? (fwd)
>Hi Andrew,
>for the kernel, it would be logical to use -ffreestanding. The kernel is
>not a hosted environment with a standard C library.

Note the GCC docs:

Assert that compilation takes place in a freestanding environment. This
implies -fno-builtin. [...]

This will break a lot of code, since there are many thing that depend upon GCC
builtin magic AFAICS.

(BTW, seems to be supported by GCC 3.3.0 too, because that manpage is packaged
together with gcc-3.3.rpm (suse 9.x))

Jan Engelhardt
Gesellschaft für Wissenschaftliche Datenverarbeitung
Am Fassberg, 37077 Göttingen,
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:08    [W:0.036 / U:1.492 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site