Web lists-archives.com

Re: running self compiled 32 bit binary on 64 bit Windows?




Greetings, Ulli Horlacher!

> On Windows 7 32 bit I have compiled some binaries by myself.
> I can run them there but not on a Windows 8 64 bit: no (error) message,
> nothing happens.

> admin@WIN-7T5P92ALEEB:/sw/cygwin-7_32/jed-0.99-20_116/bin: uname -a
> CYGWIN_NT-6.3 WIN-7T5P92ALEEB 2.10.0(0.325/5/3) 2018-02-02 15:16 x86_64 Cygwin

> admin@WIN-7T5P92ALEEB:/sw/cygwin-7_32/jed-0.99-20_116/bin: ll jed
> -rwxr-xr-x  admin    None     480,235 2018-04-10 11:58:59 jed

> admin@WIN-7T5P92ALEEB:/sw/cygwin-7_32/jed-0.99-20_116/bin: file jed
> jed: PE32 executable (console) Intel 80386, for MS Windows

> admin@WIN-7T5P92ALEEB:/sw/cygwin-7_32/jed-0.99-20_116/bin: ldd jed
>         ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x7ffe0e520000)
>         ??? => ??? (0x77330000)
>         wow64.dll => /cygdrive/c/Windows/SYSTEM32/wow64.dll (0x772d0000)
>         wow64win.dll => /cygdrive/c/Windows/system32/wow64win.dll (0x77260000)
>         wow64cpu.dll => /cygdrive/c/Windows/system32/wow64cpu.dll (0x77320000)
>         
> admin@WIN-7T5P92ALEEB:/sw/cygwin-7_32/jed-0.99-20_116/bin: ./jed
> admin@WIN-7T5P92ALEEB:/sw/cygwin-7_32/jed-0.99-20_116/bin: 


> Do I have to install some 32 bit libs?

Of course. Did you read the documentation or what?

> Which ones?

cygwin1.dll at least.
Plus whatever API's your application is using.


-- 
With best regards,
Andrey Repin
Wednesday, June 6, 2018 19:00:59

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple