On 19/02/2014 21:52, Bill Somerville wrote:
Hi All,
On 19/02/2014 21:32, Joe Taylor wrote:
<snip>
Is anyone else presently building WSJT-X in Windows, using gfortran?
Yes.

Although I build with CMake which deals with all the compiler selection automagically, I also have a slightly modified lib/Makefile.MinGW that works with either Fortan compiler. All it requires is 'FC=gfortran' passed on the mingw32-make command when using with gfortran (assuming gfortran is on PATH).

It will get included in my checkin for wsjtx when it eventually happens unless someone else does something to it first.

I use it to check that I have ll the different ways of building unbroken when I submit changes.
I've checked my modified lib/Makefile.MinGW. It should run as per the old one unless make varables are overridden:

------------------------------------------------------------------------
r3780 | bsomervi | 2014-02-19 23:30:25 +0000 (Wed, 19 Feb 2014) | 13 lines

Made Makefile.MinGW more generic.

For example the location of the Qt installation can be specified by
overriding the Makefile variable QT_DIR like:

mingw32-make -f Makefile.MinGW QT_DIR=C:\Qt\5.2.1\mingw48_32

the default uses the g95 Fortram compiler, if you have gfortran
installed and on the PATH then you can override the FC variable like:

mingw32-make -f Makefile.MinGW FC=gfortran


------------------------------------------------------------------------


    -- Joe, K1JT
73
Bill
G4WJS.
73
Bill
G4WJS.
_______________________________________________
Wsjt-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/wsjt-devel

Reply via email to