Sender: nate AT cartsys DOT com Message-ID: <36CE0756.28187AA7@cartsys.com> Date: Fri, 19 Feb 1999 16:52:38 -0800 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: MS or Borland -> GNU References: <36CC4077 DOT EFE7963C AT durham DOT ac DOT uk> <7ak4jh$hgn$5 AT sirius DOT dur DOT ac DOT uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Tom Joyce wrote: > > Tom Joyce (T DOT M DOT Joyce AT durham DOT ac DOT uk) wrote: > : Borland C/C++ 3.1 or Microsoft C 5.1 and are not compiling properly for > : me. Are there any utilities available for converting the header and > : library files from either of these "flavours" of C to one my GNU C > : compiler will understand? > > Right, I've found my problem... the code uses "far" pointers. Does anyone > know if A) just removing far from all the pointers will cause huge > problems? and B) If so, is there a way to work round it? Depends. If they're just `far' for no particular reason, you can remove them. If they're casting numbers into far pointers or using MK_FP, they probably expect to talk to some kind of hardware at various real addresses. In which case, see FAQ section 18.4 for how to rewrite these bits. Section 17.7 may also help. -- Nate Eldredge nate AT cartsys DOT com