Re: 2.4.27+stdarg+gcc-3.4.1
From: Richard B. Johnson
Date: Sat Jul 24 2004 - 19:05:35 EST
On Sun, 25 Jul 2004, Keith Owens wrote:
> On Sat, 24 Jul 2004 09:19:04 -0400 (EDT),
> "Richard B. Johnson" <root@xxxxxxxxxxxxxxxxxx> wrote:
> >> >gcc -D__KERNEL__ -nostdinc -iwithprefix include
> > ^^^^^^^_______
> >
> >This will prevent it from using its private copy of stdarg.h.
> >
> >There needs to be one in the -I<include-path>
>
> No. -iwithprefix include picks up the private path. It is probably a
> misconfigured gcc, but I am waiting on detailed diagnostics to be sure.
>
Well you just might know everything, but with some versions of
gcc, I have found it necessary to use -I`gcc --print-file-name=include`
on the command line. On this system it is:
Script started on Sat Jul 24 19:58:12 2004
# gcc --print-file-name=include
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.66/include
# exit
Script done on Sat Jul 24 19:58:35 2004
And it isn't a mis-configured gcc although some versions of gcc
don't always do what you are expecting.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.26 on an i686 machine (5570.56 BogoMips).
Note 96.31% of all statistics are fiction.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/