Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!bruce!cechew From: cechew@bruce.cs.monash.OZ.AU (Earl Chew) Newsgroups: comp.os.minix Subject: Re: floating point in Minix C Message-ID: <2781@bruce.cs.monash.OZ.AU> Date: 31 Jul 90 04:20:55 GMT References: <26232@usc.edu> Organization: Monash Uni. Computer Science, Australia Lines: 33 In <26232@usc.edu> kjh@pollux.usc.edu (Kenneth J. Hendrickson) writes: >Is there any simple flag to use for cc so that the libfp.a library will Hmm... where did you get the libfp.a library from? I presume this is from Peter Housel's fp package. If this is the case, it should have come with patches for cc.c which will cause asld to scan libfp.a first. >Or maybe I have it all wrong? Maybe I need to put the routines from the >libfp.a that I have into libc.a (replacing those routines that don't >support floating point like printf(), and adding missing routines)? No, have a separate libfp.a. See Peter's patches to cc.c. >Where is the source code for these routines (in libfp.a)? Which routines? libfp.a? They come from Peter's patches. printf()? A version was also posted with Peter's patches. Alternatively you can replace the whole lot with estdio. >Why do I get the "Warning: dummy floating point constant(s)" message You will need to use cc -f prog.c. >Not having floating point is a worse limitation than 64k I+D. No, it's not :-) Earl -- Earl Chew, Dept of Computer Science, Monash University, Australia 3168 ARPA: cechew%bruce.cs.monash.oz.au@uunet.uu.net ACS : cechew@bruce.oz ----------------------------------------------------------------------