Andrew Pinski wrote:

A workaround is to use -mdynamic-no-pic (that even speeds up your programs).
Note -mdynamic-no-pic should not be used with shared libraries, also it is not
in the FSF's gcc until 3.4 (aka it is in the cvs).

So this is not a usable workaround right now. Fink will have to do something about this right now (darwinports will have to do something similar; AFAIK they have a g77 package and probably other packages that use g77, too; maybe we should discuss this on the metapkg list?). The only possibility I see is to put up a warning:


"If you want to use g77 or install packages that use g77 (some list, scilab, atlas, octave, pgplot,... goes here), *do not install* Apple's Dec2002gccUpdater.pkg from the Apple developer web site.

If you want to install it nevertheless, make sure you backup the file /usr/libexec/gcc/darwin/ppc/as from your Dec2002 dev tools first and then after the installation of the Updater, replace the new version of this file by the old one.

If you already installed the Updater, get the Dec 2002 version of /usr/libexec/gcc/darwin/ppc/as by extracting it from your Dec2002 dev tools disk image (lengthy description on how to use pax to do this follows here), or get a copy of it from the web here (URL of a copy on a fink mirror follows here).

If you have a G5 and want to use g77, you are screwed until a bug fix from Apple shows up."

--
Martin




------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to