Hello all, I have to following scenario: I want to do an incremental link through g++ in order to have all dependant libs found: $ g++-4.1.1 -c bla.c $ g++-4.1.1 -Wl,-r -o rebla.o bla.o /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgcc_s
If I use ld directly it works fine: $ ld -r -o rebla.o bla.o Also, libgcc_s is present on the system: $ ls /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so* /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so@ /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1 Why is the relinking through g++ failing? Help is very apreciated! _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus