[Ecls-list] compilation on cygwin

Louis Höfler louis.hoefler at gmx.de
Fri Jul 30 01:44:41 UTC 2010


Someone I talked to tried to compile ecl

on Cygwin. He gets this error:

gcc -c -DHAVE_CONFIG_H -I. -I/cygdrive/c/Users/christoph/ecl/src/gmp/mpn
-I.. -D__GMP_WITHIN_GMP -I/cygdrive/c/Users/christoph/ecl/src/gmp
-DOPERATION_dive_1 -g -O2 tmp-dive_1.s -DPIC -o dive_1.o

/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/as: BFD
(GNU Binutils) 2.20.51.20100410 assertion fail
/netrel/src/binutils-2.20.51-2/bfd/coff-i386.c:584

tmp-dive_1.s: Assembler messages:

tmp-dive_1.s:110: Error: cannot represent relocation type
BFD_RELOC_386_GOTPC

make[4]: *** [dive_1.lo] Error 1

make[4]: Leaving directory `/cygdrive/c/Users/christoph/ecl/build/gmp/mpn'

make[3]: *** [install-recursive] Error 1

make[3]: Leaving directory `/cygdrive/c/Users/christoph/ecl/build/gmp'

make[2]: *** [install] Error 2

make[2]: Leaving directory `/cygdrive/c/Users/christoph/ecl/build/gmp'

make[1]: *** [libeclgmp.a] Error 2

make[1]: Leaving directory `/cygdrive/c/Users/christoph/ecl/build'

make: *** [all] Error 2

 

 

Someone told that removing the –fPIC or –fpic option

from the compile options for gcc on windows (Cygwin)

fixed this error.

http://www.cygwin.com/ml/cygwin/1999-11/msg00539.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100730/b99bd75e/attachment.html>


More information about the ecl-devel mailing list