public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: hjl@lucon.org (H.J. Lu)
To: manfred@s-direktnet.de
Cc: law@cygnus.com, hjl@lucon.org, wilson@cygnus.com,
	egcs@cygnus.com, Manfred.Hollstein@ks.sel.alcatel.de
Subject: Re: libg++ (again) - patch and rationale included.
Date: Mon, 16 Mar 1998 10:27:00 -0000	[thread overview]
Message-ID: <m0yEcih-00058JC@ocean.lucon.org> (raw)
In-Reply-To: <13580.64066.462633.263831@slsvhmt>

> 
> On Fri, 13 March 1998, 13:42:57, law@cygnus.com wrote:
> 
>  > 
>  >   In message < 13576.55644.732642.790993@slsvhmt >you write:
>  >   > As H.J. tried this several times now with no luck, perhaps it might
>  >   > help to tell you, this patch is _really necessary_ and _fixes a real
>  >   > bug_ in the configure mechanism.
>  > It's just blocked behind egcs-1.0.2 stuff.  That's been my primary
>  > egcs concern for the last several weeks.
>  > 
>  > You might submit the patch as well as the rationale behind the patch again --
>  > Jim may be able to take care of it while I work on 1.0.2 stuff.
> 
> I know it's late (perhaps too late), but I guess H.J. wanted this
> patch to be put into the release as well (me too).
> 
> OK, here's the rationale:
> 
> On Sun, 1 February 1998, 15:04:40, hjl@lucon.org wrote:
> 
>  > > 
>  > > I don't understand why we need the second patch.  I've configured
>  > > and used egcs with absolute pathnames for a long time without
>  > > running into these kinds of problems.
>  > > 
>  > 
>  > That is because some systems use the system regex.h/rx.h instead of
>  > the one included in librx. But configure.in doesn't know how to
>  > make a symlink to /usr/include/foo.h since it assumes symlink pathname
>  > is always relative.
>  > 
>  > -- 
>  > H.J. Lu (hjl@gnu.org)
> 
> And here's the patch:
> 
> Mon Aug 25 17:31:49 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
> 
> 	* configure: When making link, also check the current
> 	directory. The configure scripts may create one.
> 

This may not be very clear. Basically, the source of the symlink may
be outside of the egcs source tree. In case of libg++ on Linux, it is
/usr/include/rx.h or /usr/include/regex.h. The current configure
assumes the source of the symlink is always inside the egcs source
tree. My patch corrects it.

Thanks.

H.J.

  reply	other threads:[~1998-03-16 10:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <13575.33474.833614.662788@slsvhmt>
1998-03-12  8:22 ` libg++ (again) H.J. Lu
1998-03-13 18:29   ` Manfred Hollstein
1998-03-14  4:14     ` Alexandre Oliva
1998-03-16 20:04     ` Jeffrey A Law
1998-03-16 11:20       ` libg++ (again) - patch and rationale included Manfred Hollstein
1998-03-16 10:27         ` H.J. Lu [this message]
1998-03-16 20:25         ` Jim Wilson
1998-03-16 20:25           ` H.J. Lu
1998-03-17  1:28             ` Manfred Hollstein

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=m0yEcih-00058JC@ocean.lucon.org \
    --to=hjl@lucon.org \
    --cc=Manfred.Hollstein@ks.sel.alcatel.de \
    --cc=egcs@cygnus.com \
    --cc=law@cygnus.com \
    --cc=manfred@s-direktnet.de \
    --cc=wilson@cygnus.com \
    /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).