On 12/5/2013 12:58, wynfield wrote:
> # I then tried to compile it, but it failed as soon below.
>
> $ /bin/i686-w64-mingw32-gcc.exe hello.c
>i686-w64-mingw32-gcc: error: spawn: No such file or directory
>
>
Don't do that, just use i686-w64-mingw32-gcc, or
/usr/bin/i686-w64-mingw3
Thanks to Ruben Van Boxem informing me that MinGW-w64 can be downloaded from
Cygwin I was able to install all packages successfully. I downloaded all
MinGW-w64 packages except gcc-ada and gcc-fortran.
I then attempted to build a test program using it.
I tried the following c test case as shown