Xref: utzoo comp.sys.ibm.pc:44169 alt.msdos.programmer:1208 Path: utzoo!mnetor!geac!maccs!cs4g6ag From: cs4g6ag@maccs.dcss.mcmaster.ca (Stephen M. Dunn) Newsgroups: comp.sys.ibm.pc,alt.msdos.programmer Subject: Re: scanf problem in TC v2.01. Message-ID: <25D4D9FB.3208@maccs.dcss.mcmaster.ca> Date: 11 Feb 90 03:20:27 GMT References: <7192.25d1e107@dit.ie> <1487@maytag.waterloo.edu> Reply-To: cs4g6ag@maccs.dcss.mcmaster.ca (Stephen M. Dunn) Organization: McMaster University, Hamilton, Ontario Lines: 23 In article <1487@maytag.waterloo.edu> dmurdoch@watstat.waterloo.edu (Duncan Murdoch) writes: $The problem is that sometimes TC forgets to link in the floating point formats, $just as the message says. I don't know the exact conditions to force linking, $but an explicit reference to a certain routine is sufficient. The routine is $named something like __turbofloat. You'll have to use TDUMP on a .OBJ file $that works, and look through the externals it declares, to find the exact name. $Then add a line something like $ if (1 == 0 ) $ __turbofloat(); Assuming that Duncan is correct about the routine name as being __turbofloat, note that the call would have to be if (1 == 0) _turbofloat (); since C compilers prepend symbol names with underscores upon compilation. -- Stephen M. Dunn cs4g6ag@maccs.dcss.mcmaster.ca = "\nI'm only an undergraduate!!!\n"; **************************************************************************** I Think I'm Going Bald - Caress of Steel, Rush