mingw cross compile gfortran for windows
Hello,
I want to compile a project which is written in fortran of mine in ubuntu which should produce a windows executable. I am currently doing that via mingw. previously i have installed i686-w64-mingw package. It contains a Makefile. I don't know the exact command to compile to generate the windows executable. Somebody help. Thank you |
Assuming you have all the relevant packages installed such as gcc-mingw-w64 and g++-mingw-w64 and assuming that you're not talking about the mingw-w64-x86-64-dev package then I'd guess you type these commands in a terminal:
Code:
./configure jdk |
when i install MinGW on windows
the FIRST check is any of the "hello world" c++ programs then the SECOND test to make 100% sure that EVERYTHING on windows and mingw is set up CORRECTLY like setting the $PATH and $LD_LIBRARY_PATH ( in WINDOWS AND MINGW!!! ) and all of ming is installed in a tree that has NO!!!!! "blank spaces" in the folder names --- DO NOT !!! install mingw to c:\\Program ( BLANK SPACE) Files \ mingw is to build from source "The Gimp " and most of the dependencies if ALL that is required to instyall a FULLY working "The Gimp" is to ONLY type this Code:
./configure --prefix=/usr c:\\Gnuwin32\Mingw\bin\gimp THEN i know that Mingw is installed and configures CORRECTLY |
All times are GMT -5. The time now is 12:43 PM. |