Hi!
Since I read some postings about unsuccessful attempts to use the ibm compilers with fink, I decided to post how it worked for me.
This is quite tricky, requires root access and messing with the Fink code, be sure you know what you are doing!
1. make gxlc + gxlf + xlc + xlf95 available in your normal path via links
cd /usr/bin
ln -s /opt/ibmcmp/vac/6.0/bin/xlc xlc
....
2. modify PkgVersion.pm
in the function run_script add the lines
$ENV{CC}="gxlc";
$ENV{CXX}="gxlc";
$ENV{F77}="gxlf";
after the init of the environment for running the script.You have to use g-Versions of the compilers, otherwise the setting of compiler switches will fail. Expect problems with libraries and other stuff, DO NOT BLAME ME IF IT DOES NOT WORK! Specially the Fortran compiler is a bit more picky and might not work as expected.
It might be that a package needs additional options, ea. the ccp4 package has a special configure option for the ibm compilers.
Hope that helps, Jochen
================================================================
In God we Trust -- all others must submit an X.509 certificate.
Max Planck Institut fuer Biophysikalische Chemie Dr. Jochen Junker Am Fassberg 11 37077 Goettingen
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
