[SAC-HELP] sacio.a for intel mac

Georgia Cua georgia.cua at sed.ethz.ch
Fri Aug 18 14:03:24 PDT 2006

Dear Arthur,

Thanks for your prompt reply.

I am using the sac binaries that were in 05Mar01.sac.bin.darwin.tar.

Yes, I had seen from the archives that there were some issues with  
fortran and gcc. I am the following versions of gfortran and gcc

[guardia:/Applications] georgia% gfortran -v
Using built-in specs.
Target: i386-apple-darwin8.7.1
Configured with: ../gcc-4.2-20060805/configure --enable-languages=c+ 
Thread model: posix
gcc version 4.2.0 20060805 (experimental)

[guardia:~/Research/PAGER2006_2] georgia% gcc -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5250.obj~20/src/configure -- 
disable-checking -enable-werror --prefix=/usr --mandir=/share/man -- 
enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg] 
[^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 -- 
build=powerpc-apple-darwin8 --with-arch=pentium-m --with- 
tune=prescott --program-prefix= --host=i686-apple-darwin8 -- 
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5250)

Thank you,

On Aug 18, 2006, at 9:35 PM, Arthur Snoke wrote:

> IRIS is running some tests on building/running sac on an intel  
> machine, as the normal testers do not have access to one.
> A couple of questions:
> 1. The sac distribution you cite indicates that it is the original  
> binary code for sac 100.0.  That was not built on an intel mac, so  
> I am surprised you could get it to run.  Please clarify exactly  
> what sac binary you are running and what platform.
> 2.  As I think we have commented to the list before (see archives),  
> meshing Fortran and gcc is not simple.  What version of Fortran are  
> you running?  The binary with a name like the one you cite was  
> built using gcc 3.  With non-intel macs, the default on 10.4 is gcc  
> 4.0 or 4.0.1.  These are not compatible with g77 built in  
> conjunction with gcc 3.  Please clarify the compilers you are using.
> Arthur Snoke
> On Fri, 18 Aug 2006, Georgia Cua wrote:
>> Dear sac-help,
>> I am using an intel mac, and would like to use the input/output  
>> libraries in sacio.a.
>> However, when I try to compile my fortran code, I get some messages
>> /usr/bin/ld: warning /Applications/sac/lib/sacio.a archive's  
>> cputype (18, architecture ppc) does not match cputype (7) for  
>> specified -arch flag: i386 (can't load from it)
>> /usr/bin/ld: Undefined symbols:
>> _rsac1_
>> collect2: ld returned 1 exit status
>> Is there a version of sacio.a that works with the intel mac?
>> The sac version I am using is:
>> SEISMIC ANALYSIS CODE [03/01/2005 (Version 100.00)]
>> Copyright 1995 Regents of the University of California
>> Thank you,
>> Georgia Cua
>> _______________________________________________
>> sac-help mailing list
>> sac-help at iris.washington.edu
>> http://www.iris.washington.edu/mailman/listinfo/sac-help

Dr. Georgia Cua
Swiss Seismological Service
Institute of Geophysics
ETH Hoenggerberg HPP P
CH-8093 Zurich

Tel:  +41-044-633-7574
Fax: +41-044-633-1065

georgia.cua at sed.ethz.ch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/sac-help/attachments/20060818/53ca7976/attachment.html>

More information about the sac-help mailing list