Mike Zulauf wrote:
On Dec 31, 2005, at 6:04 AM, Jeff Whitaker wrote:

Mike: I believe I finally have a workaround for this. I've updated the package to use '-fno-underscoring' when compiling the library. At least that way all the symbols now have the same underscoring convention (identical to xlf's). The fortran tests now pass.

Thanks for working on this, Jeff. Unfortunately, '-fno-underscoring' conflicts with how other libraries built against Fortran typically seem to be built.

For example, when I build a code that's linked with the HDF libraries, I need to use '-fno-underscoring'. On the other hand, if I link against pgplot, I can't use that option. I

Unless I update pgplot (and all the other fortran callable C libs, such as netcdf and ncar graphics) to use -fno-underscoring also. This problem seems to be a result of NCSA hardcoding xlf name-mangling conventions for all their libs on OS X (I had to use the same trick to get hdf5 to work with g95).

-Jeff

--
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/PSD  R/PSD1        Email  : [EMAIL PROTECTED]
325 Broadway                Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web    : http://tinyurl.com/5telg



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to