in reply to Re: How to make an XS module with a different C compiler?
in thread How to make an XS module with a different C compiler?

I tried your suggestion and I do get lots of errors.
Are these the types of errors that will "bite me in the tukas" ?
erickn@isfe:/home/erickn/ACE> perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for ACE erickn@isfe:/home/erickn/ACE> make CC=/usr/local/studio8/SUNWspro/bin/ +cc cp ACE.pm blib/lib/ACE.pm /home/utils/perl/bin/perl /home/utils/perl/lib/perl5/5.8.0/ExtUtils/xs +ubpp -typemap /home/utils/perl/lib/perl5/5.8.0/ExtUtils/typemap -typ +emap typemap ACE.xs > ACE.xsc && mv ACE.xsc ACE.c /usr/local/studio8/SUNWspro/bin/cc -c -I/opt/Ace750cRev1/postware/ace +lib -I/home/utils/perl/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BI +TS=64 -O -DVERSION=\"3.00\" -DXS_VERSION=\"3.00\" -fPIC "-I/home/ +utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE" -DSolaris64 ACE.c cc: Warning: illegal option -fPIC "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h", line 20 +9: syntax error before or at: __attribute__ "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h", line 20 +9: warning: old-style declaration or incorrect type for: __attribute_ +_ "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h", line 20 +9: warning: syntax error: empty declaration "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h", line 26 +9: syntax error before or at: __attribute__ "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h", line 26 +9: warning: old-style declaration or incorrect type for: __attribute_ +_ "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h", line 26 +9: identifier redefined: __attribute__ current : function() returning int previous: function() returning int : "/home/utils/perl/lib/per +l5/5.8.0/sun4-solaris/CORE/perlio.h", line 209 "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h", line 26 +9: warning: syntax error: empty declaration "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h", line 27 +3: syntax error before or at: __attribute__ "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h", line 27 +3: warning: old-style declaration or incorrect type for: __attribute_ +_ "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h", line 27 +3: identifier redefined: __attribute__ current : function() returning int previous: function() returning int : "/home/utils/perl/lib/per +l5/5.8.0/sun4-solaris/CORE/perlio.h", line 269 "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h", line 27 +3: warning: syntax error: empty declaration "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h", line 98: + syntax error before or at: __attribute__ "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h", line 98: + warning: old-style declaration or incorrect type for: __attribute__ "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h", line 98: + identifier redefined: __attribute__ current : function() returning int previous: function() returning int : "/home/utils/perl/lib/per +l5/5.8.0/sun4-solaris/CORE/perlio.h", line 273 "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h", line 102 +: warning: syntax error: empty declaration "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h", line 103 +: syntax error before or at: __attribute__ "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h", line 103 +: warning: old-style declaration or incorrect type for: __attribute__ "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h", line 103 +: identifier redefined: __attribute__ current : function() returning int previous: function() returning int : "/home/utils/perl/lib/per +l5/5.8.0/sun4-solaris/CORE/proto.h", line 98 "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h", line 103 +: warning: syntax error: empty declaration "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h", line 503 +: syntax error before or at: __attribute__ "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h", line 503 +: warning: old-style declaration or incorrect type for: __attribute__ "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h", line 503 +: identifier redefined: __attribute__ current : function() returning int previous: function() returning int : "/home/utils/perl/lib/per +l5/5.8.0/sun4-solaris/CORE/proto.h", line 103 "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h", line 503 +: warning: syntax error: empty declaration "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h", line 504 +: syntax error before or at: __attribute__ "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h", line 504 +: warning: old-style declaration or incorrect type for: __attribute__ "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h", line 504 +: identifier redefined: __attribute__ current : function() returning int previous: function() returning int : "/home/utils/perl/lib/per +l5/5.8.0/sun4-solaris/CORE/proto.h", line 503 "/home/utils/perl/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h", line 504 +: warning: syntax error: empty declaration cc: acomp failed for ACE.c *** Error code 2 make: Fatal error: Command failed for target `ACE.o'