From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Sicheneder To: law@cygnus.com, egcs@cygnus.com Subject: Re: egcs-1.0.2 installation Date: Wed, 15 Apr 1998 15:09:00 -0000 Message-id: <3534EFEC.57D21F70@studbox.uni-stuttgart.de> References: <6517.892657654@hurl.cygnus.com> X-SW-Source: 1998-04/msg00608.html Jeffrey A Law wrote: > > In message < 35347CE7.C921A21B@studbox.uni-stuttgart.de >you write: > > i have just one further question: > > how to build the shared stdc++ libraries. trying the "--enable-shared" > > option gave me an error during compilation. > What error did it give you? If you don't tell us the actual error, > then it's hard to suggest any hints on how to fix the problem. jeff, thanks for your answer. i thought that it was maybe a known problem, so i didn't tell details, sorry. as far as i can see, stage1 and stage2 are built without problems. the following are the very last rows of the build process; where it stops with an error: ----snip---- make[3]: Entering directory `/usr/src/egcs-1.0.2/objdir/libraries/libio' make[3]: `iostream.list' is up to date. make[3]: Leaving directory `/usr/src/egcs-1.0.2/objdir/libraries/libio' /usr/src/egcs-1.0.2/objdir/gcc/xgcc -B/usr/src/egcs-1.0.2/objdir/gcc/ -g -O2 -fno-implicit-t emplates -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-1.0.2/objdir/libraries/libstdc++' make[1]: *** [all-target-libstdc++] Error 2 make[1]: Leaving directory `/usr/src/egcs-1.0.2/objdir' make: *** [bootstrap] Error 2 sichen:/usr/src/egcs-1.0.2/objdir # ls ---snip---- so to me it looks like xgcc cannot find some object files -- but where should they come from?! maybe i am just doing a simple mistake, but i followed the INSTALL instructions very closely: i did a "../configure --prefix=/usr/egcs --enable-shared" and then a "make bootstrap". the error does not occur, when i just do a "../configure --prefix=/usr/egcs"?! regards, markus -- Markus Sicheneder, Allmandring 20 C, D-70569 Stuttgart e-mail: sichen@studbox.uni-stuttgart.de www: http://wwwcip.rus.uni-stuttgart.de/~lrt12741/