This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: libgcc.mk fallout


	The problem is that the revised libgcc.mk does not play nice with
t-aix* LINK_SHLIB, producing rules like:

./libgcc_s.a: stmp-dirs 
         ./xgcc -B./ -B/farm/dje/install/powerpc-ibm-aix5.2.0.0-20041201/powerpc-ibm-aix5.2.0.0/bin/ -isystem /farm/dje/install/powerpc-ibm-aix5.2.0.0-20041201/powerpc-ibm-aix5.2.0.0/include -isystem /farm/dje/install/powerpc-ibm-aix5.2.0.0-20041201/powerpc-ibm-aix5.2.0.0/sys-include -L/tmp/powerpc-ibm-aix5.2.0.0-20041201/gcc/../ld -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs -Wl,-bE:libgcc/./libgcc.map -o ./shr.o  $(filter-out ,$(objects)) -lc `case ./libgcc_s in *pthread*) echo -L/usr/lib/threads -lpthreads -lc_r /usr/lib/libc.a ;; *) echo -lc ;; esac` ; rm -f tmp-./libgcc_s.a ; ar -X32_64 rc tmp-./libgcc_s.a ./shr.o ; mv tmp-./libgcc_s.a ./libgcc_s.a ; rm -f ./shr.o

Filenames such as tmp-.libgcc_s.a do not work well.  As with the earlier
problems, "./" is breaking things.

David


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