Improved Makefile.rule for cross compiler.
authorZhang Xianyi <xianyi@iscas.ac.cn>
Thu, 8 Nov 2012 14:15:04 +0000 (22:15 +0800)
committerZhang Xianyi <traits.zhang@gmail.com>
Thu, 8 Nov 2012 16:14:20 +0000 (00:14 +0800)
Makefile.rule

index f667c16..debc91d 100644 (file)
@@ -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