lkml.org 
[lkml]   [2004]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.27+stdarg+gcc-3.4.1
On Sun, 25 Jul 2004, Keith Owens wrote:

> On Sat, 24 Jul 2004 09:19:04 -0400 (EDT),
> "Richard B. Johnson" <root@chaos.analogic.com> 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@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:04    [W:0.699 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site