delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2010/08/30/16:30:37

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Authenticated: #27081556
X-Provags-ID: V01U2FsdGVkX18DdFoATEEDiCQQlpvFxpT0qEyzuwRoskV8UDFd3V
PHZgPq9xCS4127
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
To: djgpp AT delorie DOT com
Subject: collect2 question
Date: Mon, 30 Aug 2010 22:30:48 +0200
User-Agent: KMail/1.9.10
MIME-Version: 1.0
Message-Id: <201008302230.48568.juan.guerrero@gmx.de>
X-Y-GMX-Trusted: 0

While I was trying to compile tiff-3.9.4, libtool aborts telling that libgcc
cannot be found.  Of course, libgcc is installed in the correct place.  The
question arises if there is a command line length limit for bash, libtool,
collect2 or ld.  I have managed to pass the "-v" option to gcc so the options
can be inspected.  Al programs are stock versions.  libtool is the one that
comes with the tiff source package.  Here is the produced output.  Any suggestions?
If more info is required please let me know.

Regards,
Juan M. Guerrero


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
make.exe[3]: *** [tiff-bi.exe] Error 1
make.exe[3]: Leaving directory `f:/t/tiff-3.9.4/contrib/dbs'
make.exe[2]: *** [all-recursive] Error 1
make.exe[2]: Leaving directory `f:/t/tiff-3.9.4/contrib/dbs'
make.exe[1]: *** [all-recursive] Error 1
make.exe[1]: Leaving directory `f:/t/tiff-3.9.4/contrib'
make.exe: *** [all-recursive] Error 1

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019