Changes between Initial Version and Version 1 of Ticket #36103, comment 8
- Timestamp:
- Sep 12, 2012, 6:38:23 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36103, comment 8
initial v1 1 I use some software from NASA (SeaDAS) that is built using Apple gcc and g++ with gfortran-4.5 , so I tried buildingoctave-3.6.2 standalone on Snow Leopard with the same compilers. To get configure to work I had to make a symlink for libstdc++.dylib (e.g., without the ".6") in /opt/local/lib/gcc45.1 I use some software from NASA (SeaDAS) that is built using Apple gcc and g++ with gfortran-4.5. Following this example, I built octave-3.6.2 standalone on Snow Leopard with the same compilers. To get configure to work I had to make a symlink for libstdc++.dylib (e.g., without the ".6") in /opt/local/lib/gcc45. 2 2 3 "make check" passes and things generally seem to work, so I'm now working on a Portfile for this configuration. 3 "make check" passes and things generally seem to work, so I'm now working on a Portfile for this configuration (see attached). Macports adds "-arch x86_64" to the LDFLAGS, so at present the portfile requires a simple wrapper, "octf77-4.N" that replaces the "-arch x86_64" with "-m64". I've tested this on two systems with different atlas builds (one using gcc45 and the other using gcc47). The wrapper I used is just: 4 5 {{{ 6 $ cat $(which octf77-4.7) 7 #! /bin/bash 8 # wrapper for /opt/local/bin/gfortran-mp-4.7 to replace 9 # "-arch x86_64" with "-m64" 10 args="$(echo $@ | sed -e 's/ -arch x86_64 / -m64 /')" 11 #echo args: $args 12 exec /opt/local/bin/gfortran-mp-4.7 $args 13 }}} 14