public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeffrey A Law <law@cygnus.com>
To: joseph layton galbraith <galb@unm.edu>
Cc: egcs@cygnus.com
Subject: Re: Help building cross compiler...
Date: Sun, 08 Feb 1998 13:45:00 -0000	[thread overview]
Message-ID: <12170.886971225@hurl.cygnus.com> (raw)
In-Reply-To: <Pine.A41.3.96.980204115032.370728B-100000@musca.unm.edu>

  In message < Pine.A41.3.96.980204115032.370728B-100000@musca.unm.edu >you write:
  > I am trying to build a cross compiler from linux
  > to sunos4, and it is failing building target
  > libraries (in libio/gen-params) because it
  > can't find stdio.h.
Yup.  There's an outstanding bug in the "--with-headers" support that
badly needs to be fixed.

Note you can try to compile a trivial file with the "-v" option and
the compiler will dump out its internal include search list:

[law@hurl /puke/law] gcc -v k.c
Reading specs from /usr/cygnus/latest-940103/H-hppa1.1-hp-hpux10/lib/gcc-lib/hppa1.1-hp-hpux10/cygnus-2.91.07/specs
gcc version cygnus-2.91.07 980205 (gcc-2.8.0 release)
 /usr/cygnus/latest-940103/H-hppa1.1-hp-hpux10/lib/gcc-lib/hppa1.1-hp-hpux10/cygnus-2.91.07/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=91 -Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -Dunix -D__hppa__ -D__hp9000s800__ -D__hp9000s800 -D__hp9k8__ -D__PWB__ -D__hpux__ -D__unix__ -D__hppa -D__hp9000s800 -D__hp9k8 -D__PWB -D__hpux -D__unix -Asystem(unix) -Asystem(hpux) -Acpu(hppa) -Amachine(hppa) -D__hp9000s700 -D_PA_RISC1_1 -D_HPUX_SOURCE -D_HIUX_SOURCE k.c /tmp/cca12162.i
GNU CPP version cygnus-2.91.07 980205 (gcc-2.8.0 release) (hppa)
#include "..." search starts here:
#include <...> search starts here:
 /usr/cygnus/latest-940103/H-hppa1.1-hp-hpux10/lib/gcc-lib/hppa1.1-hp-hpux10/cygnus-2.91.07/../../../../../include
 /usr/cygnus/latest-940103/H-hppa1.1-hp-hpux10/lib/gcc-lib/hppa1.1-hp-hpux10/cygnus-2.91.07/../../../../hppa1.1-hp-hpux10/include
 /usr/cygnus/latest-940103/H-hppa1.1-hp-hpux10/lib/gcc-lib/hppa1.1-hp-hpux10/cygnus-2.91.07/include
 /usr/include
End of search list.

This ought to give you some hints about where to put the include files so
that gcc can find them until we get the --with-headers stuff fixed.

jeff

      parent reply	other threads:[~1998-02-08 13:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-04 14:09 joseph layton galbraith
1998-02-05  6:40 ` Joseph H. Buehler
1998-02-08 13:45 ` Jeffrey A Law [this message]

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=12170.886971225@hurl.cygnus.com \
    --to=law@cygnus.com \
    --cc=egcs@cygnus.com \
    --cc=galb@unm.edu \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).