Winim looks great.

Any suggestions for how to cross compile a 32 bit exe from a Linux box. Coding 
on my Windows laptop is awful! ! !

Something like this worked for oldwinapi:
    
    
    nim --cpu:i386 --os:windows c -r hellomsg
    
    
    Run

By the way, the nim.cfg in the working directory is:
    
    
    i386.windows.gcc.path = "/usr/bin"
    i386.windows.gcc.exe = "i686-w64-mingw32-gcc"
    i386.windows.gcc.linkerexe = "i686-w64-mingw32-gcc"
    
    
    Run

When I tried the above I got a linker(?) error like:
    
    
    /etcetc/.nimble/pkgs/winim-2.5.1/winim/inc\..\lib\winim32.res: No such file 
or directory
    
    
    Run

Although I can see the winim32.res file as: 
    
    
    /etcetc/.nimble/pkgs/winim-2.5.1/winim/lib/winim32.res
    
    
    Run

I never could get cross compiling to 64 bit exe to work on my projects.

Reply via email to