Dynamic Extension & Bus error

Daniel Eggert deggert at apple.com
Wed Apr 22 16:43:31 CDT 2009


On Apr 22, 2009, at 11:46 AM, John W. Eaton wrote:

> On 22-Apr-2009, Daniel Eggert wrote:
>
> | Ok. I wasn't compiling with mkoctfile, because I need to link to  
> other
> | things, and mkoctfile is not flexible enough for that.
>
> Are the -IDIR, -lLIB, -LDIR, -RDIR, -Wl,... options not sufficient?
> If not, why not?  What's missing for your purpose?

It would be very helpfull, if I could pass "other CFLAGS" and "other  
LDFLAGS" to mkoctfile.

Amongst others, I need to pass "-framework" options.


> | So I was
> | querying "mkoctfile -p" for the flags and then compiling from within
> | Xcode.
> |
> | I can't figure out why I get a bug error this way, though.
>
> Are you using the same compiler and version that was used to build
> your copy of Octave?


That might in fact be the problem. I didn't build Octave myself, but  
picked a pre-built binary. I'll try to rebuild with the same compiler  
and see if that solves the problem. I think there have been some ABI  
changes related to C++ which could very well trigger this.

/Daniel



More information about the Help-octave mailing list