Xref: utzoo comp.lang.c++:11867 comp.lang.c:36555 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!texsun!smunews!necssd!harrison From: harrison@necssd.NEC.COM (Mark Harrison) Newsgroups: comp.lang.c++,comp.lang.c Subject: Re: TC++: "floating point formats not linked" Message-ID: <673@necssd.NEC.COM> Date: 26 Feb 91 16:03:35 GMT References: <1991Feb9.193059.14322@ucselx.sdsu.edu> <268@nazgul.UUCP> Organization: NEC America Inc. SSD, Irving, TX Lines: 24 In article <268@nazgul.UUCP>, bright@nazgul.UUCP (Walter Bright) writes: > In TC, the floating point library is only linked in if one of the OBJ files > for the program contained a floating point operation. > In ZTC, we use the opposite approach. Floating point is always linked in > by default. If you don't need it, then compile with -mi or link in the > INT.OBJ object module. > I'm all ears if anyone has a suggestion on how to get the best of both > by default. Perhaps you could add some kind of informatory message at link time... "Linking floating point stuff, but don't see that you are using any floating point in your program... Use the -mi option if you don't want floating point." Of course, then you would need a linker option to suppress this message :-( -- Mark Harrison harrison@necssd.NEC.COM (214)518-5050 {necntc, cs.utexas.edu}!necssd!harrison standard disclaimers apply...