64-Bit Erlang on SOLARIS 10

Valentin Micic [ MTN - Innovation Centre ] Micic_V@REDACTED
Tue Jul 4 17:35:31 CEST 2006


Hello Mikael and others,

Thank you very much -- that part worked!!!

My next problem:

Compiler complains about undefined data types (i.e. ctid_t), but I
suspect GCC version that I'm running (will download one for Sol10)

V.



-----Original Message-----
From: Mikael Pettersson [mailto:mikpe@REDACTED] 
Sent: Tuesday, 04 July 2006 3:06 PM
To: Valentin Micic [ MTN - Innovation Centre ];
erlang-questions@REDACTED
Subject: Re: 64-Bit Erlang on SOLARIS 10

On Tue, 4 Jul 2006 13:04:59 +0200, "Valentin Micic [ MTN - Innovation
Centre ]" <Micic_V@REDACTED> 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.


NOTE: This e-mail message is subject to the MTN Group disclaimer see http://www.mtn.co.za/disclaimer




More information about the erlang-questions mailing list