From: mambuhl AT tiac DOT net (Martin Ambuhl) Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP-to-Borland Compatibility. Date: Thu, 21 Nov 1996 19:32:35 GMT Organization: The Internet Access Company, Inc. Lines: 38 Message-ID: <572anb$cea@news-central.tiac.net> References: <199611201954 DOT RAA03155 AT cosmos DOT hiway DOT gr> NNTP-Posting-Host: p16.ts1.newyo.ny.tiac.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp "Panos Platon Tsapralis" wrote in <199611201954 DOT RAA03155 AT cosmos DOT hiway DOT gr> (comp.os.msdos.djgpp, Wed, 20 Nov 1996 15:55:41 GMT): : While trying to recompile, using DJGPP, a program, that was originally :written in Borland-C++, along with some data-base & screen management :libraries, I encountered error messages that indicate that DJGPP lacks :functions like "ltoa" ( long-to-ascii ), "ultoa" ( unsigned-long-to-ascii These functions (`ltoa' and `ulota')are obviously unneeded, unless you are using a radix other that 8, 10, or 16 but in the range 2-36. Use sscanf instead. :), "MK_FP" ( unknown - could not find in the Borland manuals anything about :this function ), which admittedly are specific to the Borland's :implementation of C/C++. MK_FP is a macro for Borland to make a "far" pointer from a segment & offset. Since DJGPP is a 32-bit compiler, the only reason to be concerned with such things is if you need physical addresses. In that case, you need to examine the DJGPP FAQ which covers such things. : Has someone allready implemented these & other, specific to Borland, :functions in DJGPP, so that I don't have to re-discover the fire & :re-invent thw wheele all ove from scratch again, please ? :================================================= :Panos Platon Tsapralis, :Software Engineer, :Branch Manager, :Software Developement Operations Division, :Western Unisoft, Patras, Hellas. :================================================= Martin Ambuhl mambuhl AT tiac DOT net Honors Bridge Club, 115 E 57th, New York /* mha - @ripco.com, @ix.netcom.com, etc. inactive * all newsgroups follow-ups are also emailed */