gareth 2003/02/21 01:18:57 Modified: c/scripts packageBinaries.pl Log: patch to packageBinaries.pl so that it pays attention when you set the compiler to gcc under cygwin - by Neil Graham Revision Changes Path 1.120 +8 -3 xml-xerces/c/scripts/packageBinaries.pl Index: packageBinaries.pl =================================================================== RCS file: /home/cvs/xml-xerces/c/scripts/packageBinaries.pl,v retrieving revision 1.119 retrieving revision 1.120 diff -u -r1.119 -r1.120 --- packageBinaries.pl 20 Feb 2003 18:05:20 -0000 1.119 +++ packageBinaries.pl 21 Feb 2003 09:18:56 -0000 1.120 @@ -412,9 +412,10 @@ # End of Itanium Builds. # -# WINDOWS builds happen here ... +# WINDOWS builds happen here, as long as they +# aren't using gcc... # -if ($platform =~ m/Windows/ || $platform =~ m/CYGWIN/) { +if ($platform =~ m/Windows/ || ($platform =~ m/CYGWIN/ && !($opt_c =~ m/gcc/))) { if ($opt_b eq "64") { @@ -819,7 +820,7 @@ # if ( ($platform =~ m/AIX/i) || ($platform =~ m/HP-UX/i) || ($platform =~ m/BeOS/i) || ($platform =~ m/SunOS/i) || ($platform =~ m/Linux/i) || ($platform =~ m/ptx/i) || - ($platform =~ m/Darwin/i) ) { + ($platform =~ m/Darwin/i) || ($platform =~ m/CYGWIN/ && ($opt_c =~ m/gcc/))) { # Echo the current PATH to see what compiler it picks up psystem ("echo PATH=$ENV{'PATH'}"); @@ -953,6 +954,10 @@ $ENV{'XMLINSTALL'} = $targetdir; } $XMLINSTALL = $ENV{'XMLINSTALL'}; + } + if(($platform =~ m/CYGWIN/) && ($opt_c =~ m/gcc/)) { + $MAKE = "make"; + $platform = "CYGWIN"; } # Set defaults for platform-independent options.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]