This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] GNU/k*BSD support (with ChangeLog) for gcc


Hi!

The attached patch rewrites GNU/kFreeBSD support so that it shares common
definitions with GNU/Linux and only adds minimal changes, resulting in
much better integration (both externaly and wrt gcc internals). It does
also add GNU/kNetBSD.

Patch (and test log) attached. ChangeLog entries follow.

ChangeLog:

2004-03-15  Robert Millan  <robertmh@gnu.org>

	* libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu.
	* ltconfig: Likewise.
	* ltcf-c.sh: Likewise.
	* ltcf-cxx.sh: Likewise.
	* ltcf-gcj.sh: Likewise.

gcc/ChangeLog:

2004-03-15  Robert Millan  <robertmh@gnu.org>

	* config.gcc: Merge kfreebsd*-gnu with linux* and add knetbsd*-gnu.
	* config/i386/linux.h: Unify sys/ucontext.h declarations across
	platforms (Needed for GNU/k*BSD).
	* config/kfreebsd-gnu.h: New. GNU/kFreeBSD followup for linux.h.
	* config/knetbsd-gnu.h: New. Ditto for GNU/kNetBSD.
	* config/freebsd-spec.h: Define __FreeBSD_kernel__.
	* config/netbsd.h: Define __NetBSD_kernel__.

	* config/kfreebsdgnu.h: Remove.
	* config/t-kfreebsd-gnu: Likewise.
	* config/i386/kfreebsdgnu.h: Likewise.

-- 
Robert Millan

"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."

 -- J.R.R.T., Ainulindale (Silmarillion)

Attachment: kbsd-gnu.diff
Description: Text document

Attachment: kbsd-gnu.log
Description: Text document


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