1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
--- ../tmp-orig/wip-2p3/makewip 2004-06-04 09:49:30.828570601 +0200
+++ ./makewip 2004-06-04 09:49:03.241852801 +0200
@@ -208,7 +208,7 @@
#
# The following is a list of acceptable hosts (all lowercase).
#
-set hostList = (sun solaris sgi u2 convex osf x86-linux sparc-linux alpha-linux aix hpux)
+set hostList = (sun solaris sgi u2 convex osf x86-linux x86_64-linux sparc-linux alpha-linux aix hpux)
#
# Set up the defaults for the command line options.
#
@@ -316,6 +316,8 @@
set wiphost = 'sgi'
else if (($v_uname[1] == 'Linux') && ($m_uname =~ *86)) then
set wiphost = 'x86-linux'
+ else if (($v_uname[1] == 'Linux') && ($m_uname =~ *86_64)) then
+ set wiphost = 'x86_64-linux'
else if (($v_uname[1] == 'Linux') && ($m_uname == sparc)) then
set wiphost = 'sparc-linux'
else if (($v_uname[1] == 'Linux') && ($m_uname == alpha)) then
@@ -354,6 +356,7 @@
if ("$wiphost" == 'sun3') set wiphost = 'sun'
if ("$wiphost" == 'mips') set wiphost = 'sgi'
if ("$wiphost" == 'x86-linux') set wiphost = 'x86-linux'
+if ("$wiphost" == 'x86_64-linux') set wiphost = 'x86_64-linux'
if ("$wiphost" == 'alpha-linux') set wiphost = 'alpha-linux'
if ("$wiphost" == 'sparc-linux') set wiphost = 'sparc-linux'
#
@@ -542,6 +545,20 @@
set theM = "$theM -O"
set cFlags = "$cFlags -O -Dx86linux"
endif
+else if ("$wiphost" == 'x86_64-linux') then
+# For Linux, f77 is a shell script which runs f2c.
+ set doranlib = 1
+ set doliblm = 1
+# set f77lib = ( $f77lib -lf2c )
+ set f77lib = ( $f77lib -lpng -lz -lg2c )
+ set theM = 'g77'
+ if ($dodebug > 0) then
+ set theM = "$theM -g"
+ set cFlags = "$cFlags -g -Dx86_64linux"
+ else
+ set theM = "$theM -O"
+ set cFlags = "$cFlags -O -Dx86_64linux"
+ endif
else if ("$wiphost" == 'sparc-linux') then
# For Linux, f77 is a shell script which runs f2c.
set doranlib = 1
|