On Wed Aug 13 10:41:22 2008, [EMAIL PROTECTED] wrote:
> 
> Does this patch help?

Almost, you just missed the executable itself (-o arg).  This patch
works for me.

- Andrew

Index: solaris.pm
===================================================================
--- solaris.pm	(revision 30211)
+++ solaris.pm	(working copy)
@@ -34,9 +34,9 @@
         # Can't call cc_build since we haven't set all the flags yet.
         # This should suffice for this test.
         my $cc_inc = $conf->data->get('cc_inc');
-        Parrot::Configure::Utils::_run_command( "$cc -o test test.c",
-            'test.cco', 'test.cco' )
-            and confess "C compiler failed (see test.cco)";
+        Parrot::Configure::Utils::_run_command( "$cc -o test_$$ test_$$.c",
+            "test_$$.cco", "test_$$.cco" )
+            and confess "C compiler failed (see test_$$.cco)";
         %gnuc = eval $conf->cc_run() or die "Can't run the test program: $!";
         if ( defined $gnuc{__GNUC__} ) {
             $link = 'g++';

Reply via email to