[erlang-questions] Building 64-bit Erlang on Solaris 11

Joel Reymont <>
Wed Oct 1 20:51:39 CEST 2008


./configure --prefix=/opt/local --enable-64bit CFLAGS='-m64'
...
gmake
...
ld: fatal: file obj/i386-pc-solaris2.11/opt/plain/erl_main.o: wrong  
ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to /home/admin/ 
otp_src_R12B-4/bin/i386-pc-solaris2.11/beam

What am I doing wrong?

	Thanks, Joel

P.S. Omitting CFLAGS='-m64' builds a 32-bit Erlang.

--
wagerlabs.com








More information about the erlang-questions mailing list