Re: Compiling CLN on Intel Macs
Dear Bruno, actually I don't know how to do this here. I run configure with "-- disable-shared"; what else should I do? I fear that static linking is somewhat not easy, because it says in the man pages for gcc: "-static On systems that support dynamic linking, this prevents linking with the shared libraries. On other systems, this option has no effect. This option will not work on Mac OS X unless all libraries (includ- ing libgcc.a) have also been compiled with -static. Since neither a static version of libSystem.dylib nor crt0.o are provided, this option is not useful to most people." I tried to use the static flag with the result: "/usr/bin/ld: can't locate file for: -lcrt0.o collect2: ld returned 1 exit status" Christian
* Christian Fleck wrote on Mon, Mar 06, 2006 at 11:54:23PM CET:
I tried to use the static flag with the result:
"/usr/bin/ld: can't locate file for: -lcrt0.o collect2: ld returned 1 exit status"
This bug is fixed in Autoconf CVS as of 2004-02-09. (I think already 2003-10-06, or even earlier, but post-2.59). Cheers, Ralf
Hi Ralf, thanks for the hint, but unfortunately I don't understand it really. I am using this version of autoconf: "Autoconf --version autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. Copyright (C) 2003 Free Software Foundation, Inc." Is this an old version? Christian On 07.03.2006, at 00:03, Ralf Wildenhues wrote:
* Christian Fleck wrote on Mon, Mar 06, 2006 at 11:54:23PM CET:
I tried to use the static flag with the result:
"/usr/bin/ld: can't locate file for: -lcrt0.o collect2: ld returned 1 exit status"
This bug is fixed in Autoconf CVS as of 2004-02-09. (I think already 2003-10-06, or even earlier, but post-2.59).
Cheers, Ralf _______________________________________________ CLN-list mailing list CLN-list@ginac.de https://www.cebix.net/mailman/listinfo/cln-list
Christian Fleck wrote:
actually I don't know how to do this here. I run configure with "-- disable-shared"; what else should I do?
Nothing else, that's fine.
I fear that static linking is somewhat not easy, because it says in the man pages for gcc: "-static
No, I don't think that's what Bruno meant. Could you please post the generated files config.h, intparam.h and floatparam.h from your include/cln/ directory? Thanks. Regards -richy. -- Richard B. Kreckel <http://www.ginac.de/~kreckel/>
participants (3)
-
Christian Fleck
-
Ralf Wildenhues
-
Richard B. Kreckel