Subj : Re: 64 bit integer support? To : borland.public.cpp.borlandcpp From : Richard Hartman Date : Mon Aug 02 2004 04:14 pm Responses interspersed below. waking@idirect.com (Wayne A. King) wrote: >On 30 Jul 2004 10:04:19 -0700, "Richard Hartman" wrote: > >>I have read that different versions of the Borland compiler support 64-bit integers >>with __int64, > >Yes. > >>I have not been able to get it to work on any of them in 4.0 4.5 5.0 or 5.5. > >Not much to go on. Can you be more specific? >Note that 5.5 is the only version you list which has support for 64-bit ints. > >>Another posting I read suggested that 5.02 is the earliest version of the compiler >>to support this ... > >Correct. But only for 32-bit targets, not for 16-bit. Ok, above you say only 5.5 supports 64-bit ints, then you say "Correct" to 5.02 also supporting them. Which is it? > >>is it in 5.0 as well? > >No. > >>Or do I have to find a 5.02 somewhere? > >Yes, but ... it won't help if you must create a 16-bit app. Nope. I never mentioned a 16-bit target environment. > >>If so, where could I find it? > >Possibly on Ebay or other sites which sell used software. > >>The code we are compiling is _not_ for windows, it is for an embedded system, > >16-bit? Then no Borland (or Microsoft) compiler offers such support. It's only >in compilers which create 32-bit targets. You may want to look elsewhere for >large number support libraries (freeware/shareware/commercial.) It's a 32-bit target processor, but it's _not_ a Window OS. 5.5 seems to compile/link for Windows only while earlier versions don't force the production of Windows target apps. Or am I missing something on 5.5? > >>I would prefer to stay away from 5.5 which seems to target windows only. > >Correct. (Win32) Note that 5.5 is from the Builder version 5 package. >64-bit int support was added to BC++ 5.02 for compatibility with Builder >version 1. So 5.02 is the absolute earliest one I could get that supports 64-bit integers? Ok ... does it have the ability to compile/link non-Windows EXEs, or does it force the inclusion of the Windows headers & libraries? > > >-- >Wayne A. King >(waking@idirect.com, Wayne_A_King@compuserve.com) .