Thanks for the info, Jack. I actually have a functional g77 on my G5:

Reading specs from /sw/lib/gcc/powerpc-apple-darwin6.8.5/3.4/specs
Configured with: '../gcc-3.4-20030827/configure' '--prefix=/sw '--enable-languages=f77 '--infodir=/share/info
Thread model: posix
gcc version 3.4 20030827 (experimental)


From what you've said, there doesn't seem to be a strong motivation for installing gcc 3.3.2. Also, I'm not sure what the differences are between 3.4-20030827 and 3.4-20031015. For now, I will probably just stick with the one that works and hope that a future update allows me to build newer versions. It seems to me that the main advantage of using Apple's version are some of the compiler flags for optimization that are missing from fink's g77, and possibly other performance improvements.

I'm actually pretty pleased with the performance of g77 right now (although any performance improvements are welcome). Although g77 seemed to be dramatically outperformed by IBM's xlf compiler for a simple linear algebra problem, that didn't hold up for my finite element code. The FE code makes heavy use of BLAS, so I'll have to do some more investigation to see what's going on.

Thanks again,
Charles


On Wednesday, October 22, 2003, at 12:28 PM, Jack Howarth wrote:


Charles,
   If you download gcc 3.3.2, it should build fine on your G5
and show the same make check as on the gcc testsuite mailing
list for Darwin 6.3. I did some quick benchmarks last night
of g77 3.3.2 vs 3.4 and couldn't detect any speed improvement.
I did find out one interesting tidbit on the gcc mailing list.
Apparently Apple's gcc 3.3 does include ppc DFA support for
instruction scheduling (which isn't in the stock gcc 3.3).
That might be the main argument for using gcc 3.4 (if it
would build on all machines) since it has ppc DFA as well.
                 Jack


Charles A. Williams
Dept. of Earth & Environmental Science
Science Center 2C01
Rensselaer Polytechnic Institute
Troy, NY  12180
Phone:  (518) 276-8463
FAX:            (518) 276-2012
e-mail: [EMAIL PROTECTED]



-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to