help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build failure on OS X


From: Joe Koski
Subject: Re: Build failure on OS X
Date: Fri, 30 Dec 2005 18:18:48 -0700
User-agent: Microsoft-Entourage/11.2.1.051004

More data that may be relevant from the Apple scitech list:

Joe

------ Forwarded Message
From: Bill Northcott <address@hidden>
Date: Sat, 31 Dec 2005 10:07:33 +1100
To: <address@hidden>
Cc: <address@hidden>
Subject: Re: R and FORTRAN

On 31/12/2005, at 7:05 AM, address@hidden wrote:
>
> Thanks everyone.  Martin Costabel's comments were right on target.

No really they are quite wrong.  See below.

> I made a
> symbolic link from /usr/lib/libcc_dynamic.a to
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a and it worked!

You should not do this.  I can tell you from bitter experience that
it will cause you trouble.

The saveFP/restFP issue appears when you try to link object code
built with the FSF versions of gcc2.x or gcc3.x with objects built
using the Apple versions of the same compilers.   gcc4.x does NOT
have this problem because FSF and Apple code is now almost identical.

OTOH you should NOT link object code/static libraries built with
gcc3.x with objects built with gcc4.x.  That is why the symlink is
removed when gcc4 is the default compiler.  This is not a mistake.
If you persist in linking gcc3 and gcc4 objects, you will have a lot
of seg faults!

Current R distributions are built with gcc-3.3 and g77 which is
included in the binary distribution.  Use these to build extensions.
If you want to use gcc4, you must build R from source using gcc4/
gfortran.  gcc4 and g77 are not compatible.  Using gcc4 for R at this
time is not simple.

All this has been well discussed on R mail lists, which are your best
source.

Cheers
Bill

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Scitech mailing list      (address@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/scitech/jkoski11%40comcast.net

This email sent to address@hidden

------ End of Forwarded Message




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]