This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs-1.0.2 installation


On Wed, 15 April 1998, 19:35:40, sichen@studbox.uni-stuttgart.de wrote:

 > 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.

Well, your problem has been  observed already  on Solaris using  Sun's
make, but I've never seen (or heard about) it  on Linux ;-? You should
be able to build everything correctly, if you're  using a builddir not
located  in  srcdir; i.e.  create   a directory  egcs-1.0.2-build as a
sibling directory to egcs-1.0.2.

 > 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/

manfred


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]