# New Ticket Created by  Jarkko Hietaniemi 
# Please include the string:  [perl #30882]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=30882 >


If the compiler is 64-bit (cc -64 has been used) also the cxx, ld, and
link need to be set accordingly.

-- 
Jarkko Hietaniemi <[EMAIL PROTECTED]> http://www.iki.fi/jhi/ "There is this special
biologist word we use for 'stable'.  It is 'dead'." -- Jack Cohen

--- config/init/hints/irix.pl.dist      2004-07-30 10:17:58.000000000 +0300
+++ config/init/hints/irix.pl   2004-07-30 10:26:57.000000000 +0300
@@ -16,3 +16,18 @@
 Configure::Data->set(
     libs => $libs,
 );
+
+my $cc   = Configure::Data->get('cc');
+my $cxx  = Configure::Data->get('cxx');
+my $ld   = Configure::Data->get('ld');
+my $link = Configure::Data->get('link');
+if ( $cc =~ /cc -64/ ) {
+    $cxx  = 'CC -64';
+    $ld   = 'ld -64';
+    $link = 'CC -64';
+    Configure::Data->set(
+        cxx  => $cxx,
+        ld   => $ld,
+        link => $link,
+    );
+}

Reply via email to