Re: Unable to compile with -rc-file option using TDM-GCC-64

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

Hi, I have no problem to compile with TDM-GCC-64 if no use of the -rc-file option. If I use this Option I get :

C:\Euphoria\Cltests\Curl-exe>euc -rc-file EuCurl.rc -gcc eucurl.ex

Build directory: build-267863\

Translating code, pass: 1 2 3 generating

Compiling with GCC

Compiling 14% init-.c

Compiling 57% EuCurl.c

Compiling 85% main-.c

Linking 100% ..\EuCurl.exe

C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: i386:x86-64 architecture of input file `C:/Euphoria/Cltests/Curl-exe/build-267863/EuCurl.res' is incompatible with i386 output

collect2.exe: error: ld returned 1 exit status Unable to link C:\Euphoria\Cltests\Curl-exe\EuCurl.exe Status: 1 Command: gcc -o C:/Euphoria/Cltests/Curl-exe/EuCurl.exe init-.o EuCurl.o main-.o C:/Euphoria/Cltests/Curl-exe

/build-267863/EuCurl.res C:/Euphoria/bin/eu.a -m32

The .rc file used is one line : "EuCurl ICON SRCDIR\xxx.ico" and works with Watcom

It would be great if someone get an idea about this problem ! Thanks a lot !

Maybe the rc file is for 64 bit. And the compiler seems to set to create executible for 32 bit. We might have broken something, as I don't think we have unit tests for rc files. After running unit tests we wouldn't know. Can you call

eui -version 

and reply with the output here?

It is possibly caused by a bug in euc, or perhaps it is your compiler.

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


Quick Links

User menu

Not signed in.

Misc Menu