Changeset 5694

Show
Ignore:
Timestamp:
07/19/05 15:21:14 (3 years ago)
Author:
rkhill
svk:copy_cache_prev:
7696
Message:

Added Win32 section to the install file
Added check for Win32, vb7.0 bypass perl5 embed

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • INSTALL

    r5577 r5694  
    8787    make profiled 
    8888 
     89CAVEATS FOR Win32 USERS 
     90------------------------- 
    8991 
     92Embedding Perl5 is disabled GHC is built with MinGW/GCC and Perl  
     93is usually built with VC++, they cannot embed one another. 
     94   
    9095CAVEATS FOR GCC 4.0 USERS 
    9196------------------------- 
  • Makefile.PL

    r5680 r5694  
    148148    my $ccdlflags = ""; 
    149149 
    150     if ($ENV{PUGS_EMBED} and $ENV{PUGS_EMBED} =~ /\bperl5\b/i) { 
     150    if ($ENV{PUGS_EMBED} and $ENV{PUGS_EMBED} =~ /\bperl5\b/i  and !($Config{cc} eq 'cl') ) { 
    151151        push @prereqs, "src/perl5/perl5.o"; 
    152152        $ghc_output .= " src/perl5/perl5.o "; 
     
    158158              for split /\s+/, $flags; 
    159159        } 
     160    } 
     161    elsif( $Config{cc} eq 'cl' and $^O =~ /Win32/ )   { 
     162            $ENV{PUGS_EMBED} =~ s/\bperl5\b//g; 
     163            warn << '.' 
     164*** Perl 5 embedding disabled on Win32 systems. 
     165. 
    160166    } 
    161167    else {