<div class="gmail_quote">On Fri, Oct 29, 2010 at 9:40 PM, Marko Kocić <span dir="ltr"><<a href="mailto:marko.kocic@gmail.com">marko.kocic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div id=":sp">I compiled both gmp and gc with -m32, set CFLAGS for ECL to use -m32,<br>
Compilation went fine until the moment ./ecl_min is invoked. I suppose<br>
the problem is that ./ecl_min uses gcc to compile lisp stuff, but<br>
doesn't set -m32 flag, and gcc asumes -m64 (or something like that, I<br>
don't have access to that box right now)<br></div></blockquote></div><br>ECL respects whatever value you supply to CFLAGS or at least they should. It is not good to hardcode special flags in ECL. If something is needed for your system, for instance in this case it seems that -m32 is needed, then adding it at the end of the call to configure as in<div>

<br></div><div>./configure --enable-unicode CFLAGS="-m32"</div><div><br></div><div>should do it. If this does not work and ECL "forgets" those flags, then it is a bug that needs to be fixed.</div><div>

<br></div><div>Regarding more generally Win64 support, I have built ECL with Windos64 support using Microsoft's compilers. Indeed this is the regular build in ECL's test farm whenever it is not off the grid (<a href="http://ecls.sf.net/logs.html">ecls.sf.net/logs.html</a>). I was never able to install mingw64 on that box (Windows Server 2008) so I really do not know whether the compiler builds 64 bits executables or not.</div>

<div><br></div><div>In any case, it is been one month since I looked at the Windows port and as I said our test</div><div><br></div><div>Juanjo</div><div><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br>

<a href="http://juanjose.garciaripoll.googlepages.com">http://juanjose.garciaripoll.googlepages.com</a><br>
</div>