public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: hjl@lucon.org (H.J. Lu)
To: vonbrand@sleipnir.valparaiso.cl (Horst von Brand)
Cc: egcs@cygnus.com
Subject: Re: cpp only piece not parametrized with gcc-lib directory?
Date: Mon, 23 Mar 1998 21:57:00 -0000	[thread overview]
Message-ID: <m0yHKc5-00058JC@ocean.lucon.org> (raw)
In-Reply-To: <199803230403.AAA08140@sleipnir.valparaiso.cl>

> 
> I built egcs-1.0.2 some days back for i586-pc-linux-gnu (the default), but
> my compilers live in i386-redhat-linux, per RedHat-5.0 convention.  Not
> wanting to rebuild everything, I just moved the directory egcs-2.90.27 from
> /usr/lib/gcc-lib/i586-pc-linux-gnu to /usr/lib/gcc-lib/i386-redhat-linux. I
> tried a small C program with:
> 
>       gcc -V egcs-2.90.27 -v hello.c
> 
> The _only_ (and easily fixed) trouble was that cpp hardwired
> /usr/lib/gcc-lib/i586-pc-linux-gnu/include into the <> search path. It
> would be nice if it got this, e.g., from either a -I created by the
> compiler driver, or read it from .../specs.
> 

# ls -l /usr/lib/gcc-lib
total 19
lrwxrwxrwx   1 root     root           18 Mar  6 21:29 i386-redhat-linux -> i586-unknown-linux
drwxr-xr-x   4 root     root         1024 Mar 17 12:27 i586-unknown-linux


H.J.

  parent reply	other threads:[~1998-03-23 21:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-23 16:39 Horst von Brand
1998-03-23 21:54 ` Jeffrey A Law
1998-03-23 21:57 ` H.J. Lu [this message]
1998-03-24 14:49   ` Horst von Brand

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=m0yHKc5-00058JC@ocean.lucon.org \
    --to=hjl@lucon.org \
    --cc=egcs@cygnus.com \
    --cc=vonbrand@sleipnir.valparaiso.cl \
    /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).