Re: Unable to compile Eu programs
- Posted by ne1uno Jun 10, 2016
- 2540 views
SunPsych08 said...
jimcbrown said...
SunPsych08 said...
Hello,
Command: gcc -DEWINDOWS -fomit-frame-pointer -c -w -fsigned-char -02 -m64 -IC:/Euphoria -ffast-math init-.c
Might be a problem with our configure script. If MinGW is 32bit then we should not be passing the -m64 option to it.
OK. I wonder what other Euphorians are doing? Cygwin or OW I guess. Anyway, thank you. I'll try another compiler.
Alex
you can use -cflags and -lflags to change -m32 and the other compiler options but this is probably a bug or a feature request. there should be an -m32 option on 64bit euc so that you know it will build a 32bit executable that will compile and run properly.
the 4.1 32bit eui can build the 4.1 64bit executables, so maybe it's possibly to just change -m32?
the 64 bit MinGW compiler can build 32 bit or 64 bit programs