Jeff Whitaker <[EMAIL PROTECTED]> said:
> Peter O'Gorman wrote:
>> 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
>> |>
>> |> 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".
>>
>> 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:  Thanks - I've committed this to 10.4-transitional unstable

Bug report from #fink:

< elventear> Hello. I have installed the latest Xcode and I've noticed
  that some packages when compiling look for gcc 4.0.0. In
  /usr/lib/gcc/powerpc-apple-darwin8/4.0.0. What I've made is a
  symlink of 4.0.1 to 4.0.0 in the same directory. It seems to work
  but I dunno if it is the proper solution [...]  I am compiling g77
  right now. It is g77 3.4.3-12 and in the middle of the compilation
  it gave me that same error. That is was looking for gcc 4.0.0. I
  made the symlink as explained previously and now it is building
  normally, but it seems that 3.4.3-12 does not fix that problem

< dmacks> Ooh, that's bad. Did you have an older g77 pkg installed
  already (when the new-verison compile crashed)?

< elventear> I had the binary previosly. For 3.4.3-2. It complained
  about the same thing. But with the symlink I fixed it. Still I
  wanted to compile it. I removed the binary before installing from
  source

< dmacks> So with no g77 installed at all and no manually-created
  symlink, 3.4.3-12 fails to compile?

< elventear> dmacks: Yep

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks




-------------------------------------------------------
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

Reply via email to