This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Program file paths for xgcc
- To: oliva at lsd dot ic dot unicamp dot br (Alexandre Oliva)
- Subject: Re: Program file paths for xgcc
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Sun, 9 Jan 2000 12:50:33 -0500 (EST)
- Cc: egcs-bugs at egcs dot cygnus dot com
> > Under hpux 10.20, running make check results in many test failures
> > when gcc-2.96 is configured using --with-gnu-as if the complete install
> > directory path doesn't exist
>
> Did you read http://egcs.cygnus.com/cgi-bin/fom.cgi?file=16 ?
No. However, because there are work arounds using "--with-as" or creating
the install directory path doesn't mean that the change to using DIR_UP
from the install directory isn't going to cause problems for a lot of
people. This problem wasn't present in gcc-2.95.2 where the programs
path is:
programs: /usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/:/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/:/usr/lib/gcc/hppa1.1-hp-hpux10.20/2.95.2/:/usr/lib/gcc/hppa1.1-hp-hpux10.20/:/usr/local/hppa1.1-hp-hpux10.20/bin/hppa1.1-hp-hpux10.20/2.95.2/:/usr/local/hppa1.1-hp-hpux10.20/bin/:/usr/ccs/bin/hppa1.1-hp-hpux10.20/2.95.2/:/usr/ccs/bin/
On my system, "as" is in the standard location in "/usr/local/hppa1.1-hp-hpux10.20/bin/"
Under 2.96, the directory changes to
"/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.96/../../../../hppa1.1-hp-hpux10.20/bin/".
Why aren't we chopping the install directory string as before? On some
systems, ".." doesn't take you where you expect if the directory path
includes links.
> > /xxx/gnu/gcc-2.96/objdir/gcc/xgcc -v -print-search-dirs -B/xxx/gnu/gcc-2.96/objdir/gcc
>
> A trailing slash is missing in the `-B' argument.
Sorry I dropped the slash in creating the report. However, this doesn't
change the fact that there is a problem.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)