Support #338
MacOS version with static gcc libraries
Description
Compiling CoCoA-5 with static libraries would avoid annoying multiple releases for 10.5, 10.6, ...
C. Soeger succesfully compiled Normaliz with "-static-libgcc".
If it works for us as well we have to insert this in the configuration.
... and what about external libs?
History
#1 Updated by Anna Maria Bigatti about 11 years ago
- % Done changed from 0 to 10
First try in public version 10.6.
#2 Updated by Anna Maria Bigatti almost 11 years ago
- Status changed from New to In Progress
- Assignee set to Anna Maria Bigatti
- Priority changed from Normal to High
- % Done changed from 10 to 30
#3 Updated by Redmine Admin almost 11 years ago
- % Done changed from 30 to 10
#4 Updated by John Abbott almost 11 years ago
On my machine (Mac OS 10.5) the default configuration for CoCoALib uses "-lgmp" (assuming it is installed in a normal place). At link time the linker prefers the dynamic library over the static one. So to obtain an executable wit statically linked GMP, I must configure with an explicit --with-libgmp=/usr/local/lib/libgmp.a
thereby forcing the static linking. Of course, on my machine I have installed both static and dynamic GMP libraries (the default for a GMP installation).
I believe this static/dynamic ambiguity exists only for the "shortcuts" to the system installed libraries.
#5 Updated by John Abbott over 10 years ago
- Target version changed from CoCoA-5.0.9 to CoCoA-5.1.0 Easter14
#6 Updated by Anna Maria Bigatti about 10 years ago
- % Done changed from 10 to 20
I noticed that CoCoAInterpreter for 10.5 works on my 10.6.
... so John fixed it?
What about viceversa?
John: could you download release for 10.6 and see if it works on 10.5?
#7 Updated by John Abbott about 10 years ago
I tried cocoa-5.0.9-text-mac10.6.tgz
(28 Mar 2014) on my machine; it did not start
$ ./CoCoAInterpreter dyld: unknown required load command 0x80000022 Trace/BPT trap
#8 Updated by John Abbott about 10 years ago
- Target version changed from CoCoA-5.1.0 Easter14 to CoCoA-5.1.1 Seoul14
- Estimated time set to 8.00 h
#9 Updated by John Abbott almost 10 years ago
- Status changed from In Progress to Closed
- % Done changed from 20 to 100
Since Mac OS X 10.5 is now more than 5 years old, we have decided to stop worrying about it (for the binary releases).