I have uploaded g95 and ncarg packaging that can build under Leopard onto fink tracking...
http://sourceforge.net/tracker/index.php?func=detail&aid=1841363&group_id=17203&atid=414256 http://sourceforge.net/tracker/index.php?func=detail&aid=1834902&group_id=17203&atid=414256 I tried a number of different options in developing the new g95 packaging. I finally decided to go with the stock g95 0.90 source tarball patched to compile successfully against the Xcode 2.4/2.5/3.0 cctools. The odcctools package is unusable under Leopard so we have to make this switch (which gcc42 did long ago). I also experimented with building g95 built against gcc 4.2.2, however while the resulting build passes blockdata_test, it doesn't properly build ncarg. The best solution, placed on fink tracking, was to build g95 against a gcc-4.0.3 patched to build against cctools (using the same patches as MacPorts uses) with an additional backport from gcc 4.2.2 under darwin9 to eliminate the tentative size change warnings from the linker in cctools. The resulting g95-0.90-3 packaging can successfully be used to build ncarg-4.4.1-6. Jack ps I would have rather switched ncarg to build with gcc42. Unfortunately ncarg relies on blockdata initialization behavior unsupported in gfortran on darwin. I've reported this issue to Apple and it has apparently already been fixed in the cctools for the upcoming Xcode 3.1 release. However, this fix to the linker will likely never be backported to Xcode 2.5. Thus we would have to fork the ncarg package to build with g95 on Tiger and gcc42 on Leopard. Until gfortran is patched to emit the common block symbols in the same way g95 does, the blockdata initialization problem has to be fixed via the linker for gfortran to properly compile ncarg on darwin. ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Fink-devel mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.devel
