Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 1999 22:59:07 -0700
From:      Warner Losh <imp@village.org>
To:        arch@freebsd.org
Subject:   Cross compilation goals.
Message-ID:  <199911180559.WAA21245@harmony.village.org>
In-Reply-To: Your message of "Wed, 17 Nov 1999 18:40:34 PST." <19991117184034.A53402@dragon.nuxi.com> 
References:  <19991117184034.A53402@dragon.nuxi.com>  <199911151707.JAA03820@freefall.freebsd.org> <199911160533.WAA02391@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In private Mail, David O'Brian asked the musical questions:
: Would it be possible ... [to] discuss the issue and come up
: with a unified plan?  Either privately, or on the freebsd-arch list?

Sure.  Maybe it might be a good idea to start with goals.  Everyone is
working from different goals...

Goals:
	1) The ability to generate code for the target platform.  The
	   target platform may be a different architecture, or a
	   different version of FreeBSD than the host system runs.
	2) The ability to build tools to generate code for the target
	   platform in a standard way.
	3) The ability to install the cross tools.
	4) The ability to specify a different set of tools easily so
	   that one can do cross development, rather than just cross
	   compilation.
	5) Any methods will be documented
	6) No impact on the non-cross compilation cases (eg, we can't
	   break native builds)
	7) Be useful for a buildworld replacement which will solve
	   the problem of tools generating binaries to build the rest
	   of the system that cannot run on the system at hand due to 
	   new kernel functionalty.

Non-goal:

	1) Have the cross compilation code necessarily work on other
	   systems.

I'd like to keep these goals simple and not let this get out of hand.
But rather as a sanity check for those interested enough to have
committed code to the efforts along the way.

Comments?

Warner




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911180559.WAA21245>