[Fink-devel] Re: g77-- gfortran transition
On 2006-03-02, Jeff Whitaker wrote: P.S. Corey - could you try out octave-forge to make sure I didn't botch it up? Works delightfully. Thanks for doing this leg-work for me. crh --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Re: g77-- gfortran transition
I've been working on updating my CCP4 package for gfortran in collaboration with the ccp4 developers since late last November. It is not always simple, and there are still programs that appear to compile fine but suffer run-time errors (in fact, I am seeing more of these now than with the svn 4.1-prerelease I made on December 3rd, although other problems have improved). I'm reluctant to ditch g77 until I can get these problems sorted, since without these programs working properly I will starve to death and have to put my children in an orphanage. Hi: Since gcc4-4.1 is now in 10.4 and 10.4-transitional unstable, the transition from g77 to gfortran can begin. AFAICT, there are 3 things that need to be changed in most packages that depend on g77: 1) remove the 'Architecture: powerpc' field. 2) change 'BuildDepends: g77' to 'BuildDepends: gcc4 (= 2:4.1.0-1) 3) add '--with-f77=gfortran' or equivalent to ConfigureParams. In addition, if the package links fortran code to c++ code, you'll need to make sure it uses g++-4.0. In the 10.4 tree this is done automatically, but in 10.4-transitional I think this requires adding SetCXX: g++-4.0 So far, I've only updated octave (and octave-forge) to use gfortran, but I'll be slogging through my own packages one by one. -Jeff P.S. Corey - could you try out octave-forge to make sure I didn't botch it up? --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Re: g77-- gfortran transition
William Scott wrote: I've been working on updating my CCP4 package for gfortran in collaboration with the ccp4 developers since late last November. It is not always simple, and there are still programs that appear to compile fine but suffer run-time errors (in fact, I am seeing more of these now than with the svn 4.1-prerelease I made on December 3rd, although other problems have improved). Bill: Give it a try with gcc 4.1.0 final. I'm reluctant to ditch g77 until I can get these problems sorted, since without these programs working properly I will starve to death and have to put my children in an orphanage. Ouch - if gcc 4.1.0 still doesn't work, go ahead and leave it with g77. It just means that it won't work on mactel. It might help to isolate the run-time errors and send them to the gcc-fortran mailing list - maybe then they will be fixed in 4.1.1. Another option is to use g95 - have you tried that? -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX: (303)497-6449 NOAA/OAR/PSD R/PSD1Email : [EMAIL PROTECTED] 325 BroadwayOffice : Skaggs Research Cntr 1D-124 Boulder, CO, USA 80303-3328 Web: http://tinyurl.com/5telg --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Re: g77-- gfortran transition
Jeff Whitaker [EMAIL PROTECTED] writes: Hi: Since gcc4-4.1 is now in 10.4 and 10.4-transitional unstable, the transition from g77 to gfortran can begin. AFAICT, there are 3 things that need to be changed in most packages that depend on g77: 1) remove the 'Architecture: powerpc' field. 2) change 'BuildDepends: g77' to 'BuildDepends: gcc4 (= 2:4.1.0-1) 3) add '--with-f77=gfortran' or equivalent to ConfigureParams. In addition, if the package links fortran code to c++ code, you'll need to make sure it uses g++-4.0. In the 10.4 tree this is done automatically, but in 10.4-transitional I think this requires adding SetCXX: g++-4.0 Is this really a good idea? I guess that would creates ABI compatibility issues if the packages links against librairies compiled with g++-3.3. Indeed, I don't see the point in moving from g77 to gfortran in 10.4-trans, since this branch does not support Intel Macs anyway. We can probably leave g77 in 10.4-trans, and use gfortran in 10.4 non trans. Sébastien --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel