This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] add bfin target
Comments 1) and 2) see below.
2. Your Makefile.am and configure.in should be based on the
ones in libc/machine/fr30 to comply with the latest
autotools support
3. Minor nit: remove reference to arm in your configure.in
1)
The files are identical to those in fr30. Both references should be
changed (i.e. fr30 in machine/fr30/configure.in and bfin in
machine/bfin/configure.in ).
Missing the files: configure, aclocal.m4, Makefile.in
I copied those from fr30 and newlibs builds.
2)
If the whole tool-chain is build a second time (or if several other
cross tool-chains has already been build and installed I think): I get
the following error in the first stage of GCC for bfin:
= snip ==
I fil inkluderad frA¥n /skiff/bfin-elf/include/sys/config.h:4,
frA¥n /skiff/bfin-elf/include/_ansi.h:16,
frA¥n /skiff/bfin-elf/include/stdio.h:29,
frA¥n ../../../../gcc- 4.1.1/gcc/tsystem.h:90,
frA¥n ../../../../gcc-4.1.1/gcc/crtstuff.c:68:
/opt/gnutools/_BUILD/bfin-elf/gcc-4.1.1/./gcc/include/machine/ieeefp.h:296:2:
fel: #error Endianess not declared!!
= end snip ==
This usually does not happen when rebuilding other targets.
Ripping out all installations for all targets and building the bfin
tool-chain first however does not give me this error.
/Michael