DragonFly BSD
DragonFly submit List (threaded) for 2003-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: GCC 3.3.2 kernel


From: Craig Dooley <cd5697@xxxxxxxxxx>
Date: Wed, 29 Oct 2003 08:07:07 -0500

They are supposed to be turned off with -ansi.  There are lots of warnings 
with log not matching gccs built-in declaration I was trying to turn off.  I 
thought -ansi was in CFLAGS, but maybe i have to add -fno-builtin-log and 
-fno-builtin-printf etc.  I'll try that and see if I can get a kernel to 
compile.

-Craig 

On Wednesday 29 October 2003 07:57, Gunther Nikl wrote:
> Gunther Nikl <gni@xxxxxxxx> wrote:
> > Craig Dooley <cd5697@xxxxxxxxxx> wrote:
> >> The kernel still cannot be built with gcc 3.3.2 though. When using
> >> buildkernel, it gets to  linking kernel.debug and dies with MANY
> >> undefined references to puts and putchar.
> >
> >  These are stdio optimizations. Try -Wno-builtin-[f]printf to disable
> >  the problematic ones.
>
>   Argl, its -fno-builtin-[f]printf
>
>   Gunther

-- 
Craig Dooley											cd5697@xxxxxxxxxx

Attachment: pgp00008.pgp
Description: signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]