From: James B. <jk...@mr...> - 2002-02-01 09:43:52
|
On Thu, Jan 31, 2002 at 09:29:46AM -0800, Jim Ingham wrote: > When gcc3 is all the way done for MacOS X the default compiler will > include g77. For now, you can check out gcc3 from the Darwin sources > and build it (I don't know if it is built in Fink or not). There have Thanks for the hints. However I took a rather simplistic route and just compiled f2c from netlib. We're moving away from Fortran and so only have the one "legacy.f" fortran file left, which f2c can cope with amiably. The libI77 and libF77 libraries I merged into one and tweaked a bit. To build them as a dynamic library it seems that you need to change many of the global variables to be definitions rather than just declarations. Eg: "int l_eof;" becomes "int l_eof = 0;". (This is only needed for the global variables. And only when building with -dynamiclib.) I've also got itcl and itk to compile, so I'll be posting instructions to the tcl newsgroup (I saw a query about this there). At present I haven't fixed the configure script though; my changes were out and out hackery :-) James -- James Bonfield (jk...@mr...) Fax: (+44) 01223 213556 Medical Research Council - Laboratory of Molecular Biology, Hills Road, Cambridge, CB2 2QH, England. Also see Staden Package WWW site at http://www.mrc-lmb.cam.ac.uk/pubseq/ |