Thread: Conflict between SAC and brand new 64 bits PCs?...

Started: 2007-09-07 20:00:53
Last activity: 2007-09-10 20:49:29
Topics: SAC Developers

Every day there are more 64 bits PC. The SAC program is one of
the more robust software because it works well in several plaforms.
However, it was compiled for 32 bits PCs. Now I got a 64 bits AMD
Athlon PC with a linux FC5, and started to have some problems, not
with SAC but with my programs that use sacio.a library. When we
try to use this library for compiling programs, it fails, there
are several conflicts. One of the most common common messages we get is:


/usr/bin/ld: aviso: the architecture of i386 input file
`/home/gomez/Sac/lib/sacio.a(getsmsg.o)' is not compatible with
the output i386:x86-64


Then a simple question, do you know or have a new binary SAC
version or libraries compiled on LINUX-64 bits?

Thanks,

JuanM




  • andreas wessel
    2007-09-10 20:49:29
    Hi Juan,

    if I remember correctly you need to compile SAC with the -m32 option.
    I'm not a 100% sure though. There was a similar question on sac-help a
    while ago, maybe you can find it somewhere in the archive?

    Andreas


    On 9/8/07, gomez<at>geociencias.unam.mx <gomez<at>geociencias.unam.mx> wrote:

    Every day there are more 64 bits PC. The SAC program is one of
    the more robust software because it works well in several plaforms.
    However, it was compiled for 32 bits PCs. Now I got a 64 bits AMD
    Athlon PC with a linux FC5, and started to have some problems, not
    with SAC but with my programs that use sacio.a library. When we
    try to use this library for compiling programs, it fails, there
    are several conflicts. One of the most common common messages we get is:


    /usr/bin/ld: aviso: the architecture of i386 input file
    `/home/gomez/Sac/lib/sacio.a(getsmsg.o)' is not compatible with
    the output i386:x86-64


    Then a simple question, do you know or have a new binary SAC
    version or libraries compiled on LINUX-64 bits?

    Thanks,

    JuanM



    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help


08:47:49 v.b3198453