Package: wip Version: 2p3-7 Severity: wishlist Tags: patch When building 'wip' on amd64/testing with gcc-4.0, I get the following error:
make[1]: Entering directory `/wip-2p3' ./domake Host name set to Linux. ### Invalid Host type: [linux]. ### Host argument must be one of: ### sun solaris sgi u2 convex osf x86-linux sparc-linux alpha-linux aix hpux make[1]: *** [default] Error 1 make[1]: Leaving directory `/wip-2p3' make: *** [build-stamp] Error 2 With the attached patch 'wip' can be compiled on amd64. Regards Andreas Jochens diff -urN ../tmp-orig/wip-2p3/makewip ./makewip --- ../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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]