Martin Costabel wrote:
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.
OK, but it seems like all the symbols are resolved fine even if you
don't use the the /usr/lib/gcc/.../libgcc.a. I wonder if it only shows
up if you try to link a C lib with g77?
-Jeff
--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : [EMAIL PROTECTED]
325 Broadway Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
-------------------------------------------------------
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