64-Bit Erlang on SOLARIS 10

Mikael Pettersson <>
Tue Jul 4 15:06:14 CEST 2006


On Tue, 4 Jul 2006 13:04:59 +0200, "Valentin Micic [ MTN - Innovation Centre ]" <> wrote:
>Can anybody, please, tell me what parameters to pass to configure
>utility in order to force 64-bit support for Erlang emulator.
>
>Thanks in advance.

Assuming it's SPARC and you're using gcc, then you need
to pass -m64 to gcc. On the rare occasion that I do a
64-bit SPARC build, I do it via the following kludge:

cat>/tmp/gcc64
#!/bin/sh
exec gcc -m64 "$@"
^D
chmod +x /tmp/gcc64
env CC=/tmp/gcc64 ./configure <options>
make

Maybe 'env CFLAGS="-O2 -m64" ./configure' would work too.



More information about the erlang-questions mailing list