Crossware

Table of Contents        Previous topic       Next topic       

C COMPILER->Compiler command line options->No 68881 Maths Co-processor (/NO68881)

Use this option when you want to use floating point objects and your target hardware does not have a 68881 co-processor.  The compiler will generate alternative code that uses the floating point routines located in the alternative floating point library file FLB68020.LIB.  

The compiler will also generate the command INCLUDELIB FLB68020.LIB instructing the linker to search FLB68020.LIB instead of LIB68881.LIB.

An error will be generated by the Linker if you try to mix modules that have been compiled with and without the /N068881 option.

If you use the command line option /CPU32, the compiler defaults to using the alternative floating point library FLB68020.LIB.  Therefore the /N068881 option need not be used.