Peter O'Gorman wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter O'Gorman wrote:
| Martin Costabel wrote:
|
|> Peter O'Gorman wrote:
|> []
|>
|>> The only thing I can think to do is to link with
|>> - -L/usr/lib/gcc/%m-apple-darwin8/4.0.0
|>> -L/usr/lib/gcc/%m-apple-darwin8/4.0.1
|>> - -L/usr/lib/gcc/%m-apple-darwin8/4.0.2 -lgcc
|>>
|>> The thing is broken on x86 too.
|>
|>
|>
|> I am not sure if this will work: Earlier on g77's command line, there
|> is  -L/sw/lib/gcc/powerpc-apple-darwin8.0.0/3.4.3 and -lgcc, which
|> evaluates to libgcc.a in that directory. If you have another -lgcc on
|> the command line, it's anybody's guess which one will be chosen.
|>
|
| You're right. Looks like you can invoke functions from the gcc spec file | and one of the included functions is called "if-exists". Trying that now.
|

This seems to work for me. Note that if 4.0.0/libgcc.a and 4.0.1/libgcc.a
both exist, it will add both, but I don't think that is a big problem.

Peter



Peter: Thanks - I've committed this to 10.4-transitional unstable and removed the BuildDependsOnly as per dmack's request. I think we should consider deprecating g77 by replacing all the g77 depends with gcc4 in unstable when the next version of gcc4 comes out.

-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



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to