From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,11734b1d8c3fcb1c X-Google-Attributes: gid111c93,public From: lindahl@pbm.com (Greg Lindahl) Subject: Re: A Fortran/C code malloc problem Date: 1999/03/25 Message-ID: <7dcf0a$1pu1@news3.newsguy.com>#1/1 X-Deja-AN: 458811406 References: <7dc6kt$b48$1@nnrp1.dejanews.com> Organization: a guest of Shadow Island Games Newsgroups: comp.os.linux.alpha b_duke@my-dejanews.com writes: > > Well yes. Alpha Linux is a 64-bit O.S. so there is no reason > > whatsoever for the difference between two pointers to fit in 32 bits. > > Yes, I agree with this, but the number still seems enormous. In fact, Linux intentionally allows a big space for the process, so you can get offsets which are that big. Sorry; that's the way it works. You might want to fix your code. > It is used regularly on Alphas running Digital Unix for > example. DU has a different memory map for processes, and the -taso flag on the linker for broken 32-bit programs. Does your program use -taso under DU? There was some discussion about duplicating -taso under Linux on the axp-list@redhat.com mailing list, but I'm not sure if anyone is actually working on it. -- g