Via: uk.ac.southampton.relay; Fri, 13 May 1994 17:56:57 +0100 Via: davinci.ecs.soton.ac.uk; Fri, 13 May 94 17:44:52 BST From: Sean Smith Subject: Portable FP emulation for DJGPP To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Fri, 13 May 1994 17:44:03 +0100 (BST) Cc: jnc AT ecs DOT southampton DOT ac DOT uk (John Carter), jap AT ecs DOT southampton DOT ac DOT uk (Adrian Pickering), tmf AT ecs DOT southampton DOT ac DOT uk (Tim Forcer) We have ported DJGPP to operate as a cross-compiler/environment for PC-hosted development of code for SPARC processors. Our environment is SPARC embedded system boards with parallel/serial IO, timers etc. for teaching embedded systems techniques to undergrads, and for developing embedded systems for internal/external projects. Our target boards have just the SPARC integer units on them, being simple embedded targets, but we would like to have the 'occasional' facility to use floating point via libraries. Compiling programs with GNU using '-mno-fpu' produces all the usual correct function calls to library routines that should emulate floating point. What we would like though are some portable C source code routines for implementing the floating point operations to IEEE specifications preferably. We could sit down and write them, but before reinventing the wheel, I just thought we ought to ask if anyone out there has come across a PD set of C or C++ sources that already do this? Many thanks for looking! Sean D Smith Lecturer, Dept. Electronics & Comp. Sci., University of Southampton, SOUTHAMPTON, England SO9 5NH. Tel. (+44) 703 592773, FAX 593045