Xref: utzoo comp.sys.ibm.pc:20064 comp.lang.c:13149 Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!purdue!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!enea!kth!draken!liuida!pausv From: pausv@prefix.liu.se (Paul Svensson) Newsgroups: comp.sys.ibm.pc,comp.lang.c Subject: Big objects with microsoft C Summary: How tell the compiler that all pointers are "far" ? Message-ID: <966@prefix.liu.se> Date: 6 Oct 88 08:57:26 GMT Reply-To: pausv@majestix.liu.se Followup-To: comp.sys.ibm.pc Organization: CIS Dept, Univ of Linkoping, Sweden Lines: 16 As part of a research project, when porting a large database system to a PC clone, we have the following problem: Since the system frequently creates arrays larger than 64 Kbytes, we need to tell the compiler to make the pointer arithmetics with both offset and segment parts. How can we do this, without weeding through 14k lines of code to insert "far" directives at every pointer declaration, cast and "address of" operation ? I would appreciate answer by mail, since I do not regularly read news. ----- Paul Svensson eMail: pausv@majestix.liu.se Voice: +46-(0)13-121021 Snail: Luftvarnsg. 62, S582 65 Linkoping