|
Re: trouble with files bigger than 4GB: msg#00341lang.erlang.general
I can tell you what I had to do to build a 64 bit emulator. I built and installed a version of gcc which used -m64 as the default. Then when running configure and make on the source distribution I had that version of gcc first in the path. -Vance On Wed, Apr 23, 2003 at 10:18:49PM +0200, Daniel Solaz wrote: } } On 32bit Solaris, adding -D_FILE_OFFSET_BITS=64 to the cc call does the } trick: off_t becomes 8 bytes long, fopen() means fopen64(), etc. } However, according to the docs, this does interact badly with some } other OS subsystems. } } So I'd like to try this first and report whether things work, or at } least seem to. But I lack the expertise required to hack configure so } that it compiles the off_t size test with -D_FILE_OFFSET_BITS=64 and } generates new Makefiles with -D_FILE_OFFSET_BITS=64 in them. Can } anyone give me a pointer? } } -Daniel |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: catching errors from linked processes (Long): 00341, Chris Pressey |
|---|---|
| Next by Date: | Re: string conversion, format functions: 00341, Chris Pressey |
| Previous by Thread: | Re: trouble with files bigger than 4GBi: 00341, Daniel Solaz |
| Next by Thread: | Re: trouble with files bigger than 4GB: 00341, Raimo Niskanen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |