Changes between Version 23 and Version 24 of current-issues


Ignore:
Timestamp:
Aug 8, 2008 5:23:30 AM (11 years ago)
Author:
stefan
Comment:

update hints on MacOS X 10.5 build

Legend:

Unmodified
Added
Removed
Modified
  • current-issues

    v23 v24  
    1818
    1919 * '''"./configure: line 20: $'\r': command not found" error on Cygwin.'''  If you see an error like this on Cygwin, it means that your setting for Cygwin is such that the native text style is "Windows" and not "Unix".  As a consequence, the {{{configure}}} and other shell scripts have Window-style line end characters, which cannot be digested properly by the shell.  As a work-around, you can run the "{{{dos2unix}}}" program to correct all failing shell scripts (e.g., by typing "{{{dos2unix configure}}}").  In the long run, we will change the subversion properties for those files to avoid this problem, but it might take some time until all files have been corrected.
    20 
    21  * On '''MacOS X''', if you use the Intel 10 compilers and build static (or debug) libraries, it is wise to set F77 to {{{"ifort -shared-intel"}}} to avoid later problems when COIN libraries are linked to each other.
    2220
    2321== Compilation ==
     
    5452 * '''In Microsoft Windows, using the MinGW gcc compiler version 4.2.1 under Msys''', you cannot successfully link with -lstdc++ because of a buggy .la file. To fix, replace the file MinGW/lib/gcc/mingw32/4.2.1-sjlj/libstdc++.la with this [https://projects.coin-or.org/BuildTools/attachment/wiki/current-issues/libstdc%2B%2B.la?format=raw fixed one]. This currently affects only the unit test of Ipopt (as far as I know).
    5553
    56  * On '''MacOS X''', if you get undefined references to something with an $UNIX2003 attached, try to rebuild everything with {{{ADD_CFLAGS="-D_NONSTD_SOURCE" ADD_CXXFLAGS="-D_NONSTD_SOURCE"}}}.
     54 * On '''MacOS X''', if you use the Intel 10 compilers and build static (or debug) libraries, it is wise to set F77 to {{{"ifort -shared-intel"}}} to avoid later problems when COIN libraries are linked to each other.
    5755
    58  * On '''MacOS X''', if you get failures when running the code due to lazy symbol binding, try to rebuild everything with {{{LDFLAGS="-flat_namespace"}}}.
     56 * On '''MacOS X 10.5''', it is suggested to use {{{ADD_CFLAGS="-mmacosx-version-min=10.4" ADD_CXXFLAGS="-mmacosx-version-min=10.4"}}}, especially when the Ampl Solver Library (ASL) is used. This flag avoids undefined references to something with an $UNIX2003 attached, see also http://developer.apple.com/releasenotes/Darwin/SymbolVariantsRelNotes/index.html
     57
     58 * On '''MacOS X 10.5''', if you get failures when running the code due to lazy symbol binding, try to rebuild everything with {{{LDFLAGS="-flat_namespace"}}}. However, this solution might fail too.
    5959
    6060== Execution ==