Re: ncarg on Mac OS X 10.4.8

From: David Blanchard <david_blanchard_at_nyahnyahspammersnyahnyah>
Date: Fri, 15 Dec 2006 03:27:20 -0700

Sure.

I use the fink (fink.sourceforge.net) verion of g77 (located in
/sw/bin/g77) and it references the gcc libs in the following directory:

/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a

The upgrade to Xcode 2.4.2 and gcc 4.0.1 replaced the 4.0.0 directory
with a 4.0.1 directory. The symbolic link can be set up this way:

$ cd /usr/lib/gcc/powerpc-apple-darwin8
$ ln -s ./4.0.1 ./4.0.0

The result is this:

$ pwd
/usr/lib/gcc/powerpc-apple-darwin8
$ ls -l
total 16
lrwxr-xr-x 1 root wheel 5 Dec 13 05:05 4.0.0 -> 4.0.1
drwxr-xr-x 13 root wheel 442 Dec 13 03:34 4.0.1

David

>David,
>
>Could you share with us the symbolic link(s) that you did to save the
>rest of us from going through your experience?
>
>Thanks,
>Craig Douglas
>
>
>David Blanchard wrote:
>> After some additional investigation and tinkering, it appears that
>> the root of the problem is g77 3.4.3 is not fully compatible with gcc
>> 4.0.1 on Mac OS X 10.4.8 This is because the g77 compiler has
>> hardwired code to look for the 4.0.0 libraries and is unable to
>> locate the 4.0.1 libraries. I was able to patch this by creating a
>> symbolic link to fool g77 into using the 4.0.1 libraries.
>>
>> To summarize, there does not appear to be a problem with the new
Xcode
>> 2.4.2 or gcc 4.0.1 with NCAR Graphics. There is a problem between gcc
>> 4.0.1 and g77 3.4.3 on the Mac.
>>
>> David

-- 
+------------------------------------------------------------------------+
| David O. Blanchard  Flagstaff, Arizona  david_blanchard_at_earthlink.net  |
+------------------------------------------------------------------------+
_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Fri Dec 15 2006 - 03:27:20 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 20 2006 - 09:55:46 MST