From 789f205177b6beee41e56f007bdb2a25cc1a0cb7 Mon Sep 17 00:00:00 2001 From: Zhang Xianyi Date: Thu, 8 Nov 2012 22:15:04 +0800 Subject: [PATCH] Improved Makefile.rule for cross compiler. --- Makefile.rule | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.rule b/Makefile.rule index f667c16..debc91d 100644 --- a/Makefile.rule +++ b/Makefile.rule @@ -24,10 +24,13 @@ VERSION = 0.2.4 # Fortran compiler. Default is g77. # FC = gfortran -# Even you can specify cross compiler +# Even you can specify cross compiler. Meanwhile, please set HOSTCC. # CC = x86_64-w64-mingw32-gcc # FC = x86_64-w64-mingw32-gfortran +# If you use the cross compiler, please set this host compiler. +# HOSTCC = gcc + # If you need 32bit binary, define BINARY=32, otherwise define BINARY=64 # BINARY=64 -- 2.7.4