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]

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


Toralf Lund wrote:
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'


extern __IMPORT const union __dmath __infinity[];

Can you whittle this down to a minimal test case, then post the preprocessed source? Maybe __IMPORT is expanding to something broken...

- Dan


-- Dan Kegel http://www.kegel.com http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045


------ 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]