Xref: utzoo comp.sys.ibm.pc.misc:8557 comp.os.msdos.apps:1663 comp.os.msdos.misc:1730 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!ccncsu!lamar.colostate.edu!sharif From: sharif@lamar.colostate.edu (Thomas Abdallah) Newsgroups: comp.sys.ibm.pc.misc,comp.os.msdos.apps,comp.os.msdos.misc Subject: Borland C++ and Floating Point Math Message-ID: <14197@ccncsu.ColoState.EDU> Date: 13 Apr 91 08:27:09 GMT Sender: news@ccncsu.ColoState.EDU Reply-To: sharif@lamar.colostate.edu (Thomas Abdallah) Organization: Colorado State University, Fort Collins, CO 80523 Lines: 35 Okay, It's about time to begin pulling hair out ! I've been fighting with Borland's C++ v2.0 trying to get it to handle floating point numbers. The manual specifically states that : "The default Borland C++ code generation option is emulation ^^^^^^^ (the -f command-line compiler option). This option is for programs that may or may not have floating point, and for machines that nay or may not have an 80x87 math coprocessor." -Borland C++ Programmers Guide, p.220 When I use the BUILD option I can see the stupid thing compile my program and then actually read the EMU.LIB file during its link phase. Now when I try to go back and execute the bloody thing I get a big fat error telling me that the floating point library has not been linked. What gives ????? Has anyone been this thoroughly frustrated with the damn thing? One thing that REALLY bothers me about Borland's products is that they don't use environment variables. At least with MSC I knew why things weren't linked properly; I usually had been messing with my CONFIG.SYS file the night before and screwed up my LIB or INCLUDE variables. With this thing I have no clue! (btw. I checked the little TLINK.CFG file and it is going to the right place .. this is a bogus way of handling what should be env-vars!) vvvvvvv Anyway, I've about had it for tonight. Any help would be GREATLY appreciated. ^^^^^^^ ---------------------------------------------------- Thomas-Sharif Abdallah Starving CIS Grad Student -- Colorado State Univ. sharif@lamar.colostate.edu ----------------------------------------------------