[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 68881 Include file



On Fri, 3 Mar 1995 cxac@manadon-engineering-college.ac.uk wrote:

> Hi all,
> 	I have a Falcon and have recently installed a 68882 maths 
> coprocessor.  I tried to compile a simple c program to use the 68882 with 
> Gcc 2.5.8.  I included math.h and defined -D_M68881 (I think) which makes 
> math.h include math-68881.h.

You should give the compiler a '-m68881' switch, so that it knows it should
compile for 68881/2. (There is no -m68882 switch!). You can leave the 
'-D_M68881' away.

Ciao,
Stephan


+------------------------------+-----------------------------+
|      Stephan Haslbeck	       |    Fachschaft Informatik    |
|       Agricolastr. 61	       |   Technische Universitaet   |
|      D-80686 Muenchen	       |      Muenchen, Bayern	     |
+------------------------------+-----------------------------+
|          Es gibt keine Probleme, nur Loesungen.	     |
+------------------------------------------------------------+