This is the mail archive of the 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]

Re: [PATCH] GNU/k*BSD support (with ChangeLog) for gcc

On Fri, Mar 19, 2004 at 08:13:14AM -0800, David O'Brien wrote:
> I respectfully really, really don't like this.  This is a
> FreeBSD-specific file and the FreeBSD developers shouldn't have to be
> careful about what symbols we start using in our kernel.  The
> GNU/kFreeBSD bits should remain in separate files that won't get in the
> way of FreeBSD's evolution.  Is it is really too hard to maintain things
> they way they are now?

I'm postponing this change (and the analogous NetBSD one) and resending the
patch without it.

> Rather than depend on ANSI-C string concatenation, why not do it right
> and create %(link_emulation).


The revised patch also adds the missing ChangeLog entry for config/linux.h. It
is attached together with a check log.


2004-03-23  Robert Millan  <>

	* libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu.
	* ltconfig: Likewise.
	* Likewise.
	* Likewise.
	* Likewise.


2004-03-23  Robert Millan  <>

	* config.gcc: Merge kfreebsd*-gnu with linux* and add knetbsd*-gnu.
	* config/linux.h: Allow overriding LINUX_TARGET_OS_CPP_BUILTINS.
	* config/i386/linux.h: Conditionalise LINK_EMULATION and
	DYNAMIC_LINKER. Unify sys/ucontext.h declarations across platforms.
	* config/kfreebsd-gnu.h: New. GNU/kFreeBSD followup for linux.h.
	* config/knetbsd-gnu.h: New. Ditto for GNU/kNetBSD.

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