[Exim] How to force 64 bit compile on Solaris 8

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Sheen, Tony
Dátum:  
Címzett: 'exim-users@exim.org'
Tárgy: [Exim] How to force 64 bit compile on Solaris 8
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
Hi All,

This might seem like a daft question, but I have just installed gcc 3.2 and
want to compile Exim as 64bit.

I tried adding '-m64' to CFLAGS in OS/Makefile-SunOS5, but although that
starts out OK, it soon fails with the following message:

    <snip>
    gcc -c -O -m64 exim_dbmbuild.c
    gcc -o exim_dbmbuild exim_dbmbuild.o \
      -lsocket -lnsl -lkstat
    ld: fatal: file exim_dbmbuild.o: wrong ELF class: ELFCLASS64
    <snip>


Does anyone know how to do this properly ?

Tony Sheen

--