[Ecls-list] compilation on cygwin
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Sat Jul 31 11:37:39 UTC 2010
He/She should install gmp from cygwin and use it to build ECL, not rely on
ECL's version of GMP which is there for convenience but probably too old for
recent versions of cygwin.
Juanjo
On Fri, Jul 30, 2010 at 3:44 AM, Louis Höfler <louis.hoefler at gmx.de> wrote:
> 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
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>
>
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100731/6f07c3c9/attachment.html>
More information about the ecl-devel
mailing list