Message-ID: <3D43D1C1.1040702@khopis.com> Date: Sun, 28 Jul 2002 07:13:05 -0400 From: Adam Katz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020721 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gcc AT gcc DOT gnu DOT org CC: pgcc AT delorie DOT com Subject: help: gcc 2.95.2.1 ignored --program-prefix X-Enigmail-Version: 0.63.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: pgcc AT delorie DOT com (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 , which is distributed via diffs to gcc 2.95.2.1. 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 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-2.95.2.1/specs gcc version pgcc-2.95.2.1 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-2.95.2.1 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 2.95.2.1/pgcc) below for completeness: ------------------------------------- Subject: successful build of gcc3.1.1 Date: Sun, 28 Jul 2002 01:21:13 -0400 From: Adam Katz To: gcc AT gcc DOT gnu DOT org successfully compiled GCC 3.1.1 on RedHat 7.0 from gcc-3.1.1.tar.bz2 processor is k6-2/350 config.guess: i586-pc-linux-gnu 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: glibc-2.2.4-18.7.0.3 configured with --host=k6-pc-linux-gnu all other options were defaults, no extra packages (like binutils) -------------------------------------