egcs-1.0.2 installation (still problems)

Markus Sicheneder sichen@studbox.uni-stuttgart.de
Thu Apr 16 13:53:00 GMT 1998


hello,

sorry to bother you guys again, but i still have problems with the
compilation of egcs-1.0.2 on my i586 linux system (just) with the shared
libs.

thanks for the answers so far; your suggestion to avoid the problems
was:

> Try building totally outside of the source directory, not as
> a subdir of the source tree.

so i have the following directorys now:
	/usr/src/egcs-1.0.2
and	/usr/src/egcs-obj

according to the INSTALL guide i did a:
	../egcs-1.0.2/configure --prefix=/usr/egcs --enable-shared
and	make bootstrap-lean (also tried: make bootstrap)
both in the /usr/src/egcs-obj dir.

here is the output of the configure command:
--- snip ----
sichen:/usr/src/egcs-obj # ../egcs-1.0.2/configure --prefix=/usr/egcs
--enable-shared
Configuring for a i586-pc-linux-gnulibc1 host.
Created "Makefile" in /usr/src/egcs-obj using
"../egcs-1.0.2/config/mh-x86pic" and "../egcs-1.0.2/config/mt-x86pic"
./config.status is unchanged
Links are now set up to build a native compiler for
i586-pc-linux-gnulibc1
sichen:/usr/src/egcs-obj # 
--- snip ----

i guess the realtive paths are ok as they are also used in the example
of the INSTALL guide.
well the problem i encounter is still the same; here the output:

------ snip ------
[...]
make[3]: Entering directory `/usr/src/egcs-obj/libraries/libio'
make[3]: `iostream.list' is up to date.
make[3]: Leaving directory `/usr/src/egcs-obj/libraries/libio'
/usr/src/egcs-obj/gcc/xgcc -B/usr/src/egcs-obj/gcc/ -g -O2
-fno-implicit-templates -Wl,-soname,libstdc++.so.`echo 2.8.0 | sed
's/\([0-9][.][0-9]\).*/\1/'` -shared -o libstdc++.so.2.8.0 `cat piclist`
-lm
xgcc: pic/cmathi.o: No such file or directory
xgcc: pic/cstdlibi.o: No such file or directory
xgcc: pic/cstringi.o: No such file or directory
xgcc: pic/cstrio.o: No such file or directory
xgcc: pic/cstrmain.o: No such file or directory
xgcc: pic/dcomio.o: No such file or directory
xgcc: pic/dcomplex.o: No such file or directory
xgcc: pic/fcomio.o: No such file or directory
xgcc: pic/fcomplex.o: No such file or directory
xgcc: pic/ldcomio.o: No such file or directory
xgcc: pic/ldcomplex.o: No such file or directory
xgcc: pic/stdexcepti.o: No such file or directory
xgcc: pic/stlinst.o: No such file or directory
make[2]: *** [libstdc++.so.2.8.0] Error 1
make[2]: Leaving directory `/usr/src/egcs-obj/libraries/libstdc++'
make[1]: *** [all-target-libstdc++] Error 2
make[1]: Leaving directory `/usr/src/egcs-obj'
make: *** [bootstrap-lean] Error 2
sichen:/usr/src/egcs-obj # ls
---- snip ----

actually i cant find a pic directory -- and my compiler neighter ?!

i am using:
	gcc-2.7.2.1
	bin utilities 2.7.0.3
	make-3.76.1

well, i was able to compile gcc 2.8.0; but as far as i can remember the
shared libraries were compiled indepentendly (this is about 3-4 months
ago -- so i am not absolutely sure). so i think my system isnt really
the problem.

cu,
	markus



More information about the Gcc mailing list