This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

help: gcc ignored --program-prefix

(note - I am not subscribed to any relevent newsgroups)
To whom it may concern:

after installing gcc 3.1.1 (sucessfully with bootstrap, I sent in an email earlier for the Build Status page, copied below), I decided to install pgcc <URL:>, which is distributed via diffs to gcc

I untargz'd gcc, ran the diffs, and ran configure with "--host=k6-pc-linux-gnu --program-prefix=p" as appropriate (seperate directory, etc). This worked fine, no errors or warnings. Ditto on make bootstrap. Make install then proceeded to overwrite my new 3.1.1 binaries rather than make new ones with the specified prefix.

The directions on your website's faq for installing multiple copies of gcc at <URL:> say that this is okay (I specified an alternate host *before* the program-prefix, if this is the problem then that should be documented on the faq and configure --help).

Since there is a way to invoke the 3.1.1 compiler (via -V3.1.1), I see not much has been overwritten, but to save space, I have already blown away the source+compiled 3.1.1.

Is there a way to quickly re-create just the binaries so that they default back to 3.1.1 without recompiling everything? (and if not could that be considered for the next release?)

...and no, I'm not looking for "alias gcc='gcc -V3.1.1'" or a shell script or similar hack.

gcc -v:
Reading specs from /usr/local/lib/gcc-lib/k6-pc-linux-gnu/pgcc-
gcc version pgcc- 20001224 (release)

gcc -V3.1.1 -v:
Reading specs from /usr/local/lib/gcc-lib/k6-pc-linux-gnu/3.1.1/specs
gcc driver version pgcc- 20001224 (release) executing gcc version 3.1.1

Thank you for the time it took to read this message.
-Adam Katz

I have included the confirmation of build message (from before I messed with below for completeness:

Subject: successful build of gcc3.1.1
Date: Sun, 28 Jul 2002 01:21:13 -0400
From: Adam Katz <>

successfully compiled GCC 3.1.1 on RedHat 7.0 from gcc-3.1.1.tar.bz2
processor is k6-2/350


gcc -v:
Reading specs from /usr/local/lib/gcc-lib/k6-pc-linux-gnu/3.1.1/specs
Configured with: ../gcc-3.1.1/configure : (reconfigured)
../gcc-3.1.1/configure --host=k6-pc-linux-gnu
Thread model: single
gcc version 3.1.1

cat /etc/issue:
Red Hat Linux release 7.0 (Guinness)
Kernel 2.4.18-rc4 on an i586

uname -a:
Linux arborea 2.4.18-rc4 #1 Thu Feb 28 09:07:33 EST 2002 i586 unknown

rpm -q glibc:

configured with --host=k6-pc-linux-gnu
all other options were defaults, no extra packages (like binutils)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]