mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Richard B. Johnson" <root@chaos.analogic.com>
To: Keith Owens <kaos@ocs.com.au>
Cc: Mikael Pettersson <mikpe@csd.uu.se>,
	jamagallon@able.es, linux-kernel@vger.kernel.org
Subject: Re: 2.4.27+stdarg+gcc-3.4.1
Date: Sat, 24 Jul 2004 20:03:47 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.53.0407241958490.3373@chaos> (raw)
In-Reply-To: <18199.1090681162@ocs3.ocs.com.au>

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.



  reply	other threads:[~2004-07-25  0:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-24  2:03 2.4.27+stdarg+gcc-3.4.1 Mikael Pettersson
2004-07-24 13:19 ` 2.4.27+stdarg+gcc-3.4.1 Richard B. Johnson
2004-07-24 14:59   ` 2.4.27+stdarg+gcc-3.4.1 Keith Owens
2004-07-25  0:03     ` Richard B. Johnson [this message]
2004-07-26 18:49       ` 2.4.27+stdarg+gcc-3.4.1 Alexandre Oliva
2004-07-25 22:58     ` 2.4.27+stdarg+gcc-3.4.1 J.A. Magallon
     [not found] <200407250127.55782.vda@port.imtp.ilyichevsk.odessa.ua>
2004-07-25  1:31 ` 2.4.27+stdarg+gcc-3.4.1 Keith Owens
  -- strict thread matches above, loose matches on Subject: below --
2004-07-24  0:14 2.4.27+stdarg+gcc-3.4.1 J.A. Magallon
2004-07-24  1:56 ` 2.4.27+stdarg+gcc-3.4.1 Keith Owens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.53.0407241958490.3373@chaos \
    --to=root@chaos.analogic.com \
    --cc=jamagallon@able.es \
    --cc=kaos@ocs.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikpe@csd.uu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®