CLN + GiNaC on Apple OSX

Jonathan Brandmeyer jbrandmeyer at earthlink.net
Tue Nov 4 00:20:33 CET 2003


On Sat, 2003-11-01 at 09:10, Richard B. Kreckel wrote:

> Again, I am without access to this platform.  But there were some patches
> by Mac users.  Here is how the current tree diffs against CLN-1.1.5, at
> least the sections relevant to you:

--snipped patch--

> I hope I haven't forgotten anything.  Could you please tell us how it
> goes?

Your patch fixed the syntax errors.

> Also, please note that you have -finline-functions turned on which might
> cause trouble later.  If you have some spare time, could you please find
> out if that option does produce link failures on Mac OSX, too?

Unfortunately, I did have linker errors.  The error was identical
regardless of specifying -finline-functions:

/usr/bin/libtool: internal link edit command failed
ld: for architecture ppc
ld: cl_prin_globals.lo has external relocation entries in non-writable
section (__TEXT,__text) for symbols:
cl_module__cl_prin_globals__dtorend
cl_module__cl_prin_globals__ctorend


Don't let the 'libtool' name fool you.  It is not GNU libtool, but is a
system linker driver closer in nature to 'collect' than to GNU Libtool. 
When I find out what exactly those errors signify, I will let you know.

Thanks,
Jonathan Brandmeyer




More information about the GiNaC-list mailing list