help-octave
[Top][All Lists]
Advanced

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

Compiling 2.1.64 Mac OS X (was: DOCSTRINGS up to date)


From: Samir Sharshar
Subject: Compiling 2.1.64 Mac OS X (was: DOCSTRINGS up to date)
Date: Tue, 21 Dec 2004 18:22:13 +0100

Hi,

Well, story goes on...

Mac OS X 10.3.7, XCode 1.5 with the november 2004, update, gcc 3.3.x build 1671 from Apple

With gcc - fast -mdynamic-no-pic
FLIBS -lg2c
g77 -O5 -funroll-loops

apart the munge-texi broken cited above that need

cd doc/interpreter
g++ -o munge-texi munge-texi.cc
make

with a ./configure --enable-static --disable-readline

octave 2.1.64 compiles... but

but

at launch i've got a bus error...

Where's the gap ?

I'm trying to compile with shared libraries... and avoiding libtool complain...

Samir


Le 20 déc. 04, à 21:25, Per Persson a écrit :


On Dec 20, 2004, at 20:30, John W. Eaton wrote:

On 20-Dec-2004, Per Persson <address@hidden> wrote:

| In my case, -fast broke munge-texi:

Any idea why this might be happening?  The munge-texi file is fairly
simple C++ program that should only rely on standard C++ features.
What does -fast do?

A lot more than one might expect...
It is documented at <http://www.opensource.apple.com/darwinsource/10.3.6/gcc-1495/ AppleReleaseNotes.html>, near the bottom of the page and here <http://developer.apple.com/documentation/DeveloperTools/gcc-3.3/gcc/ Optimize-Options.html>.

I have no idea why it breaks munge-texi but IMHO this kind of optimization is bound to cause trouble at times.

/Per




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




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