Hi Davide, I'm lost with those message about ld.so.1:
# gmake CFLAGS=-m64 LDFLAGS=-m64 -f Makefile.sso g++ -m64 -c MkMachDep.cpp g++ -o bin/MkMachDep MkMachDep.o -m64 touch bin/MkMachDep ../bin/MkMachDep > SysMachine.h ld.so.1: MkMachDep: fatal: /usr/sfw/lib/libstdc++.so.6: wrong ELF class: ELFCLASS32 Killed gmake: *** [SysMachine.h] Error 137 # On Tue, Feb 2, 2010 at 7:40 PM, Davide Libenzi <davi...@xmailserver.org> wrote: > On Tue, 2 Feb 2010, Zilon X wrote: > >> Hi Davide, >> >> Yes, this is what I'm using - this builds 32 bit binaries: >> >> # file bin/XMail >> bin/XMail: ELF 32-bit MSB executable SPARC Version 1, dynamically >> linked, not stripped, no debugging information available >> >> This is the environment I'm using to compile: >> PATH=$XMAIL_ROOT/bin:/usr/sbin:/usr/bin:/usr/sfw/sbin:/usr/sfw/bin >> LD_LIBRARY_PATH=/usr/lib:/usr/sfw/lib >> INCLUDE=/usr/include:/usr/sfw/include:/usr/sfw/include/openssl > > Try to add "-m64" to both CFLAGS and LDFLAGS ... > > > > - Davide > > > _______________________________________________ > xmail mailing list > xmail@xmailserver.org > http://xmailserver.org/mailman/listinfo/xmail > _______________________________________________ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail