lkml.org 
[lkml]   [2004]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.6 patch] Use -ffreestanding? (fwd)
On Mon, Nov 22, 2004 at 09:36:15AM +0100, Jan Engelhardt wrote:
> >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.
>...

Which code in the kernel is broken by this change?

Note that explicitely using a gcc builtin is still possible.

> Jan Engelhardt

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

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

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