Jeff Whitaker wrote: []
Peter: I can't remember why JFM added the link to /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a to g77 in the first place, but if I remove it and rebuild g77, it seems to work fine (on 10.4.2 with Xcode 2.1).
The reason was the old rest_FP/save_FP undefined symbol problem that used to be solved by including a -lcc_dynamic linker flag. libgcc_dynamic always was, despite its name, a link to the static libgcc.a, but Apple removed this link for gcc4.
Until gcc3.3, they had a reasonably intelligent system with /usr/lib/gcc/darwin/default pointing to either 2.95.1 or 3.1 or 3.3, depending on what version was gcc_select'ed.
When they introduced gcc4 with its different directory structure, they had at first also a "default" directory as a symlink, but it pointed to nowhere. I filed a bug about this at the time (a year ago). Instead of fixing the "default" symlink, they removed it altogether, and they removed the libcc_dynamic symlink at the same time. This is biting us now.
-- Martin ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel