zjat02@apctrc.trc.amoco.com (Jon A. Tankersley) (04/26/89)
I am having some problems with g++/ld++. Seems ld++ doesn't search the library paths properly for the listed files or something. g++ -v test1.o -o test1 g++ version 1.34.2 /usr/local/lib/gnu/gcc-ld++ -o test1 -C -dc -dp /usr/local/lib/gnu/crt0+.o Mcrt1.o test1.o -lg++ /usr/local/lib/gnu/gcc-gnulib -lc ld++: No such file or directory for Mcrt1.o If I modify Mcrt1.o to /lib/Mcrt1.o it links properly. Anybody got a quick and dirty way to fix this? Or even a not so quick way.... Also, to link in the math library libm.a I have to do the following -lm -lc (tests 6,7,8, at least). Any ideas on this? -tank- #include <std/disclaimer.h> /* nobody knows the trouble I .... */ tank@apctrc.trc.amoco.com ..!uunet!apctrc!tank