This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


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

[patch] Fix for libgloss/m68k


Hello Maintainers,

As I has reported, the mainline of libgloss/m68k was failed
to build on gcc 3.4.x.
(I've never tested on 4.x yet, but I guess 4.x is similar.)

It was caused by two reasons:
1. BDM uses halt instruction but some of m68k architectures
   don't support it.
2. CC in m68k-elf/*/libgloss/Makefile is overridden by
   libgloss/Makefile. So subdirs which accept halt was
   also built without -m{arch} option.

Attachment is a patch.

The best way to fix reason 2 is to edit libgloss/Makefile,
but I didn't. Could someone try to fix?

- - - -
libgloss/ChangeLog
2006-10-07  Masaki Muranaka  <monaka@monami-software.com>

	* m68k/Makefile.in: Add override directive to
	CC, AS, AR, LD, RANLIB.
	Add @bdm_comment@
	* m68k/configure.in: Add check whether CC supports
	halt instruction
	* m68k/configure: Regeneraete.
- - - -
--
Masaki Muranaka
Monami software

Attachment: libgloss-m68k.patch
Description: Binary data



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