64-bit erlang

Kostis Sagonas kostis@REDACTED
Sat Nov 12 12:01:18 CET 2005


Scott Lystig Fritchie wrote:

 > To build a 64-bit VM on Solaris using GCC, using 'CFLAGS="gcc -m64"
 > ./configure' wasn't sufficient.  I resorted to:
 > 
 >   % mkdir /tmp/gcc-hack
 >   % cat > /tmp/gcc-hack/gcc <<EOM
 >   #!/bin/sh
 >   
 >   exec /path/to/gcc -m64 $*
 >   % chmod +x /tmp/gcc-hack/gcc
 >   % set path = (/tmp/gcc-hack $path)
 >   % ./configure ....
 >   % make
 >
 > Ugly brute force, but it worked.

Issuing the simple command:

	alias gcc='gcc -m64'

would have achieved the same effect.

Kostis




More information about the erlang-questions mailing list