This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

math.h compile error (gcc-2.95.3 + newlib-1.11.0)


I'm now actually down to one error message for my port to gcc cross compiler ;-) In the C code, that is; some of the assembler still needs to be changed.

Anyhow, I get:

In file included from track.c:44:
/usr/lib/gcc-lib/m68k-coff/2.95.3/../../../../m68k-coff/include/math.h:26: syntax error before `union'
/usr/lib/gcc-lib/m68k-coff/2.95.3/../../../../m68k-coff/include/math.h:26: warning: array `__infinity' assumed to have one element


Where math.h line 26 is

extern __IMPORT const union __dmath __infinity[];

That's when compiling with -traditional -fno-builtin -m68000, and using gcc version is 2.95.3/newlib 1.11.0 (target m68k-coff.)

Now, how do I get out of this one?
--
- Toralf



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]