egcs-19980525 @ AIX, weird ln -s libstdc++.so.nnn libstdc++.a

Yotam Medini yotam@avanticorp.com
Tue May 26 15:09:00 GMT 1998


egcs-19980525 was built on AIX !!!

I configured using:
   CC=gcc CFLAGS="-O2" CXXFLAGS="-O2 -fsquangle"  LANGUAGES='c c++'  \
    .../egcs-19980525/configure --v \
     --prefix=...  --enable-shared --enable-gcc

Still some problem. 
When building the library, the following was issued:

   ln -f -s libstdc++.so.2.8.0 libstdc++.a

As a result the appropriate archive library 
libstdc++.a was not built.

I believe this is the result of:

   # Following fragment copied from ..../egcs-19980525/libstdc++/config/aix.ml
   # AIX has wierd shared/non-shared libraries.

   ARLIB	 = libstdc++-ar.a 
   SHLINK   = libstdc++.a
   LIBS     = $(ARLIB) $(SHLIB) $(SHLINK)
   DEPLIBS  = ../$(SHLIB)
   SHDEPS   = -lm
   SHFLAGS  = -Wl,-unix


-- yotam



More information about the Gcc-bugs mailing list