If your Perl was built with gcc then you almost certainly want to use gcc to compile the extension, the dynamic libraries (.so files) should work anyway but there will be a strong chance the different compilers will have different symbols and use a different C Runtime library - this can cause problems when building extensions even with different versions of the same compiler (see for example http://www.mail-archive.com/perl5-porters@perl.org/msg84195.html. I would recommend trying to get this work with gcc (does make test give any errors?) and only then attempt to use a different compiler.
/J\
In reply to Re: How to make an XS module with a different C compiler?
by gellyfish
in thread How to make an XS module with a different C compiler?
by mifflin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |