2012/4/1 rajeshwari b <[email protected]>
> Hi all,
> I compiled the hello.c code in TDM-GCC (GCC 4.6, MINGW-w64 64/32bit). I
> could create the hello.exe but could not run the exe. I am getting the
> message "hello.exe is not valid win32 application". I am using windows XP,
> SP3 with i686 processor (i.e., x86 family 6model 32 stepping 10 genuine
> Intel ~2992MHz).Am attaching the code and makefile. Pl help.
>
I see you are compiling with "-m32". Unfortunately I cannot seem to
reproduce (on a 64-bit Windows, that is). Dependency walker (x86) shows it
depends on 32-bit DLLs and MSYS' "file" command says it is a 32-bit PE file.
I'm sorry to say I have no idea why it wouldn't work. Can you try running
the program through gdb as follows?
gdb hello.exe
run
Thanks,
Ruben
> Rgds,
> Raj007
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public