On 2012-12-16 05:55, dormitionsk...@hotmail.com wrote:
Now some things simply won't work with the gnu compiler. Like for instance, for some reason the Perl DBD::mysql module wasn't included with Perl, and since Perl was compiled with Sun's compiler, I had to use Sun's (Oracle's) SolarisStudio.
Note that PERL saves the configuration of compiler it was built with (for the distribution it's still Sun Studio, I guess). This config file is used to build native C source included with some PERL modules. It is possible to replace a few configuration lines (or use a file for GCC from the same perl distribution) and build working modules with GCC - or to really use Sun Studio as you did. See these: /usr/perl5/5.8.4/lib/sun4-solaris-64int/Config.pm - the file actually used, for Sun Studio originally (make a copy) /usr/perl5/5.8.4/lib/Sun/Solaris/PerlGcc/Config.pm - the GCC variant Options to replace are the compiler program pathname and its CFLAGS (optimizations, etc.), rarely something else. HTH, //Jim Klimov _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss