Browse files

fix cygwin gcc detection

  • Loading branch information...
1 parent e215f09 commit 5950aecb70baaf651291cad0ff313f901388057f Reini Urban committed with Jul 31, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0
@@ -144,6 +144,11 @@ sub slurp {
reconfigure Perl with -Duseshrplib.
+# cygwin perl uses the gcc alias, but is gcc-4. cygwin parrot uses gcc-4.
+$Perlconfig{cc} = 'gcc-4' if $Perlconfig{cc} eq 'gcc'
+ and $^O eq 'cygwin'
+ and $Perlconfig{gccversion} eq '4.3.4 20090804 (release) 1';
dubious $Perlconfig{cc} ne $config{cc}, <<TWOCC;
Blizkost needs to be built using the same version of the same C compiler as
both Perl and Parrot, in order to have a compatible interpretation of runtime

0 comments on commit 5950aec

Please sign in to comment.