Skip to content

Commit

Permalink
fix cygwin gcc detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Reini Urban committed Jul 31, 2010
1 parent e215f09 commit e7aac6c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Configure.pl
Expand Up @@ -144,6 +144,11 @@ sub slurp {
reconfigure Perl with -Duseshrplib.
SHR

# 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
Expand Down

0 comments on commit e7aac6c

Please sign in to comment.