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=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to