in reply to Re^2: How to make an XS module with a different C compiler?
in thread How to make an XS module with a different C compiler?
Maybe yes, maybe no. It all depends on the OS, the compiler used, the phase of the moon. You may get lucky and figure out what flags are causing cc to choke (-fpic is a gcc-ism for instance that's causing problems in your output below).
It's even worse with C++ though (there's no standard for name mangling, for example, so two different compilers can make completely different symbols in the output object for the same int foo( char *bar, double& baz ).
|
|---|