trouble with files bigger than 4GB

Daniel Solaz ds.erl@REDACTED
Wed May 14 15:05:17 CEST 2003

On Thursday 24 April 2003 14:15 Raimo Niskanen wrote:
> Would it be sufficient to have kind of the following shell script
> (named gcc) before the real gcc in the path?
> #!/bin/sh
> exec /usr/local/bin/gcc -m64 ${1+"$@"}

for the record:
the -m64 switch is not supported by the gcc compiler available on my 
Feb/2000 x86 Solaris box, but
exec /opt/sfw/bin/gcc -DFILE_OFFSET_BITS=64 ${1+"$@"}
did the trick
Erlang compiled without errors and large file handling now works like 
it does on FreeBSD
BUT it seems the docs are right: large file support seems to break 
other stuff, resulting in errors not found before, so in the end looks 
like it's better to not enable it

More information about the erlang-questions mailing list