Mail Archives: djgpp/2010/08/30/16:52:09
> From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
> Date: Mon, 30 Aug 2010 22:30:48 +0200
>
> make.exe[3]: Entering directory `f:/t/tiff-3.9.4/contrib/dbs'
> c:/djgpp-2.04/bin/sh.exe ../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall -W -o tiff-bi.exe tiff-bi.o ../../libtiff/libtiff.la -ljbig -ljpeg -lz -lm
> libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -o tiff-bi.exe tiff-bi.o -v ../../libtiff/_libs/libtiff.a -ljbig /dev/env/DJDIR/lib/libjpeg.a -lz -lm
> Using built-in specs.
> Target: djgpp
> Configured with: /v204/gcc-4.44/configure djgpp --prefix=/dev/env/DJDIR --disable-nls --disable-werror --enable-languages=c,c++,fortran,objc,obj-c++,ada
> Thread model: single
> gcc version 4.4.4 (GCC)
> COMPILER_PATH=c:/djgpp-2.04/bin/../libexec/gcc/djgpp/4.44/;c:/djgpp-2.04/bin/../libexec/gcc/;c:/djgpp-2.04/bin/
> LIBRARY_PATH=c:/djgpp-2.04/bin/../lib/gcc/djgpp/4.44/;c:/djgpp-2.04/bin/../lib/gcc/;c:/djgpp-2.04/lib/;c:/djgpp-2.04/lib/;c:/djgpp-2.04/bin/../lib/gcc/djgpp/4.44/../../../
> COLLECT_GCC_OPTIONS='-std=gnu99' '-g' '-O2' '-Wall' '-W' '-o' 'tiff-bi.exe' '-v' '-mtune=pentium'
> c:/djgpp-2.04/bin/../libexec/gcc/djgpp/4.44/collect2.exe -o tiff-bi.exe c:/djgpp-2.04/lib/crt0.o -Lc:/djgpp-2.04/bin/../lib/gcc/djgpp/4.44 -Lc:/djgpp-2.04/bin/../lib/gcc -Lc:/djgpp-2.04/lib -Lc:/djgpp-2.04/lib -Lc:/djgpp-2.04/bin/../lib/gcc/djgpp/4.44/../../.. tiff-bi.o ../../libtiff/_libs/libtiff.a -ljbig /dev/env/DJDIR/lib/libjpeg.a -lz -lm -lgcc -lc -lgcc
> c:/djgpp-2.04/bin/ld.exe: cannot find -lgcc
> collect2: ld returned 1 exit status
Can you add -Wl,-t to the compiler options? That should force the
linker to print every input file as it processes them, and you might
see which one of them causes this error.
- Raw text -