minor install nit

Nathan Sidwell nathan@cs.bris.ac.uk
Wed Jul 1 01:25:00 GMT 1998


Hi,
I recently built the 19980628 snapshot. As I didn't want to clobber the
installed egcs-1.0.3a, I used the --program-prefix option to ./configure
so that the snapshot program files got installed as egcs-0628-g++ and
the like. That way I'd not clobber my existing compiler, *and* know
exactly which compiler I was invoking.

Anyhow, it didn't work. The install seemed to ignore, or clobber, the
--program-prefix I'd given and installed as g++ and the like. I had to
manually go in and rename it. Fortunately this didn't clobber 1.0.3a as
I'd already renamed that as egcs++ rather than g++. (And I wasn't so
stupid as to install into the system bin directory and clobber
everybody's g++.2.8.1!)

./configure --help tells you about --program-prefix=FOO, and I ran
configure as
./configure --with-gnu-as --with-gnu-ld
--prefix=/home/staff/nathan/solaris/local
--exec-prefix=/home/staff/nathan/solaris/local/SunOS_5
--program-prefix=egcs-0628-

Is my expectation mistaken? (If so, ./configure shouldn't advertise
--program-prefix).

Rather than me poking about inside configure.in, it might be more
productive if someone who already understands its structure checked
this. (Of course, if noone does, I'll have to take the time to poke
around anyway.)

Another minor nit is that I have to install into my local directory
structure, rather than /usr/local/whatever. I'd not setup a ../info/
directory, so there was no ../info/dir file. The install-info then bombs
out moaning about it. I fixed this by simply copying a dir file from the
system info directory (yes I know this isn't right, but it got the
compiler installed).

nathan

-- 
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
      You can up the bandwidth, but you can't up the speed of light      
nathan@acm.org  http://www.cs.bris.ac.uk/~nathan/  nathan@cs.bris.ac.uk



More information about the Gcc-bugs mailing list