mc68hc11 and newlib 1.10.0

J. Johnston
Fri Dec 6 11:42:00 GMT 2002

This was added by Stephane Carrez in July.  Try doing a -v
to see what macros are being defined by your cross compiler.  The
code in ieeefp.h and config.h is looking for __mc68hc11__, __mc68hc12__,
or __mc68hc1x__

-- Jeff J.

Joel Sherrill wrote:
> Hi
> I am trying to add mc68hc11-elf to the list of embedded targets I
> try to test build on a regular basis.  But when I build gcc 3.2.1
> with newlib 1.10.0, I get this:
> In file included from
> /usr/src/redhat/BUILD/m68hc11-elf-gcc-newlib/gcc-3.2.1/newlib/libc/include/math.h:10,
>                  from
> ../../../../../../gcc-3.2.1/newlib/libc/stdlib/std.h:5,
>                  from
> ../../../../../../gcc-3.2.1/newlib/libc/stdlib/__adjust.c:7:
> /usr/src/redhat/BUILD/m68hc11-elf-gcc-newlib/gcc-3.2.1/newlib/libc/include/machine/ieeefp.h:192:2:
> #error Endianess not declared!!
> make[5]: *** [__adjust.o] Error 1
> Was this a supported target in newlib 1.10.0?

More information about the Newlib mailing list