Re: Build WIN 64 Binaries on linux?
- Posted by Thomas Nov 27, 2011
- 1803 views
When trying to build Win64 i get this error
make[2]: i586-mingw32msvcgcc: Command not foundIs 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
Sorry your advice did not change anything. My eubin/eui Euphoria Interpreter v4.1.0 development 64-bit Linux, Using System Memory Revision Date: 2011-06-30 16:06:49, Id: 5038:3739d931e005 And ./configure --build ../mw --eubin ~/euphoria/bin64 --plat WINDOWS --cc-prefix amd64-mingw32msvc- The error: amd64-mingw32msvc-gcc: Command not found