[CLN-list] CLN on OS X, linking problem

Richard B. Kreckel kreckel at ginac.de
Tue Mar 15 22:07:10 CET 2005


On Tue, 15 Mar 2005, Ralf Wildenhues wrote:
[...]
> Please try the trivial patch below.  Still, Richard please consider
> updating libtool.
>
> Regards,
> Ralf
>
> --- src/Makefile.in	3 Nov 2004 20:58:50 -0000	1.14
> +++ src/Makefile.in	15 Mar 2005 06:48:32 -0000
> @@ -203,7 +203,7 @@
>  $(ALLOBJECTS_LO) : $(SUBDIRS_TARGET)
>
>  libcln.la : $(LIBTOOL) $(ALLOBJECTS_LO)
> -	$(LIBTOOL_LINK) $(CC) -o libcln.la -rpath $(libdir) -version-info $(CL_CURRENT):$(CL_REVISION):$(CL_AGE) $(LDFLAGS) $(LIBS) $(ALLOBJECTS_LO)
> +	$(LIBTOOL_LINK) $(CXX) -o libcln.la -rpath $(libdir) -version-info $(CL_CURRENT):$(CL_REVISION):$(CL_AGE) $(LDFLAGS) $(LIBS) $(ALLOBJECTS_LO)
>
>  install : all force
>  	$(MKDIR) $(DESTDIR)$(libdir)

Thanks for the patch, I've applied it to CVS.

As to updateing libtool.  Last time I tried (maybe two years ago) it
turned out to be kinda nightmarish.  IIRC, it tried to link the shared
library with ld -r and there appeared to be a superlinear algorithm
somewhere.  I interrupted it after some hours when it had ony finished
several hundred of the 855 objects.  I've no strong inclination to try
again, after all since I'm still working on the cl_heap_modint_ring
problem.  Of course, if someone else wants to give it a try and it works
well, I'll apply patches.

  -richy.
-- 
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>





More information about the CLN-list mailing list