Re: Build WIN 64 Binaries on linux?

new topic     » goto parent     » topic index » view thread      » older message » newer message
Thomas said...

When trying to build Win64 i get this error

make[2]: i586-mingw32msvcgcc: Command not found 
Is there a problem with command line parsing in the binaries i use.
eubin-2011-10-28-bdfc91ed15da.zip 
eubin-2011-06-29-3739d931e005.tar.gz 
 
./configure --build ../mw --eubin ~/euphoria/bin64 --plat WINDOWS --cc-prefix i586-mingw32msvc 

As Shawn mentioned, you actually have to specify the dash at the end of the prefix. That's probably the wrong way to do it, but when I set it up that way, it seemed more generic.

With that compiler, you're going to be compiling to a 32-bit target. The 64-bit cross compiler probably uses something more like x86_64-w64-mingw32 as its prefix.

A 64-bit version of euphoria needs a 4.1 interpreter as its "eubin" in order to translate properly. The 32-bit version of 4.1 will work, but if you use a 4.0 interpreter, it will appear to build, but it will crash. You should be able to build a 4.1 32-bit binary using a 4.0.3 interpreter. Also, you'll want to use a native binary as your eubin (so, Linux, in this case).

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu