Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!hao!hull From: hull@hao.UUCP (Howard Hull) Newsgroups: comp.sys.amiga Subject: Re: C-compilers for Amiga are Terrible (really Manx problem) Message-ID: <451@hao.UUCP> Date: Sat, 29-Nov-86 23:13:49 EST Article-I.D.: hao.451 Posted: Sat Nov 29 23:13:49 1986 Date-Received: Sun, 30-Nov-86 19:30:18 EST References: <8611191016.AA19776@cory.Berkeley.EDU> <1074@zen.BERKELEY.EDU> <3060@garfield.UUCP> Distribution: net Organization: High Altitude Obs./NCAR, Boulder CO Lines: 18 Summary: It ain't broke, it's just not documented In article <3060@garfield.UUCP>, john13@garfield.UUCP writes: > Manx printf doesn't like %f! > > main() > { float x=1; > printf("%f\n",x); } > > causes an "f" to be printed when I run it through Manx. Try using the linker string ln garbage.o -lm -lc -o a.out instead of ln garbage.o -lc -lm -o a.out you'll be amazed what a difference it makes. If you are doing 32 bit ints, of course you'll use -lm32 -lc32 for the libraries. Howard Hull [If yet unproven concepts are outlawed in the range of discussion... ...Then only the deranged will discuss yet unproven concepts] {ucbvax!hplabs | decvax!noao | mcvax!seismo | ihnp4!seismo} !hao!hull