Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ll-xn!mit-eddie!gary From: gary@mit-eddie.MIT.EDU (Gary Samad) Newsgroups: comp.sys.amiga Subject: Re: C-compilers for Amiga are Terrible (really Manx problem) Message-ID: <4095@mit-eddie.MIT.EDU> Date: Mon, 1-Dec-86 14:10:38 EST Article-I.D.: mit-eddi.4095 Posted: Mon Dec 1 14:10:38 1986 Date-Received: Mon, 1-Dec-86 20:35:38 EST References: <8611191016.AA19776@cory.Berkeley.EDU> <1074@zen.BERKELEY.EDU> <3060@garfield.UUCP> Distribution: net Organization: MIT EE/CS Computer Facility, Cambridge, MA Lines: 16 In article <3060@garfield.UUCP>, john13@garfield.UUCP writes: > [] > One problem I haven't seen mentioned (although if it is known and there is a > way around it, I'd like to hear about it!): > > Manx printf doesn't like %f! One of the ways that Manx has cut down the minimum size of a program is by cutting the %f handling out of the standard printf in the c library. To get %f handling back, simply link with -lm BEFORE your -lc in your link statement. This will bring in a different copy of printf that DOES handle %f! by the way, the -lm means "link with the math library" where the other printf is kept. Gary