Compiling libg++ with latest egcs snapshots & releases
Derrick Bass
derrick@tapir.Caltech.EDU
Tue May 26 20:45:00 GMT 1998
Hi. I've been having a great deal of trouble compiling libg++ with
the lastest egcs snapshots and releases (e.g. 1.0.3a and 19980517).
However, I'm not entirely sure I'm doing it right. . .
I've downloaded libg++-2.8.1-980505. I then make symbolic links (is
that okay?) to the subdirectories libg++ and librx in the egcs directory
(e.g. egcs-1.0.3a/) (is that the right place?) Then I make an
egcsobj directory and proceed to configure and compile as described in
the installation instructions.
However, I always get errors in the make. Here is the latest output excerpt:
[...]
Configuring in libraries/libg++
checking for ranlib
Appending ../../../egcs-19980517/libg++/config/linux.mt to target-mkfrag
target-mkfrag is unchanged
Created "Makefile" in /ufs/murphy/derrick/netstuff/egcs-19980517obj/libraries/libg++ using "target-mkfrag"
/ufs/murphy/derrick/netstuff/egcs-19980517/configure: ../../../egcs-19980517/libg++/../config-ml.in: No such file or directory
ln: ./lgpl.texinfo: File exists
cp: `../../../egcs-19980517/libg++/../libg++/texinfo/lgpl.texinfo' and `./lgpl.texinfo' are the same file
./config.status is unchanged
/ufs/murphy/derrick/netstuff/egcs-19980517/configure: ../../../../egcs-19980517/libg++/src/../../config-ml.in: No such file or directory
make[2]: Entering directory `/home/derrick/netstuff/egcs-19980517obj/libraries/libg++'
Makefile:130: *** target pattern contains no `%'. Stop.
make[2]: Leaving directory `/home/derrick/netstuff/egcs-19980517obj/libraries/libg++'
make[1]: *** [all-target-libg++] Error 2
[...]
Thanks!
Derrick Bass
PS: If my description of exactly what I am doing is unclear, here is
the script I am using to make egcs. I called it with the command line
makeegcs 19980517 2.8.1-980505
#!/bin/csh
\rm -f ~/netstuff/egcs-$1/{libg++,librx}
ln -s ~/netstuff/libg++-$2/libg++ ~/netstuff/egcs-$1/
ln -s ~/netstuff/libg++-$2/librx ~/netstuff/egcs-$1/
mkdir ~/netstuff/egcs-$1obj
cd ~/netstuff/egcs-$1obj
../egcs-$1/configure --prefix=$HOME/gnu/egcs-$1
make -k bootstrap-lean >&! make.out
make install >>&! make.out
\rm -f ~/gnu/egcs-latest
ln -s ~/gnu/egcs-$1 ~/gnu/egcs-latest
More information about the Gcc-bugs
mailing list