[coyotos-dev] New configure script for coyotos tree

Jonathan S. Shapiro shap at eros-os.com
Fri Nov 9 15:01:12 EST 2007


Now that we are building for multiple targets, it is finally painfully
obvious that playing around with OPTIONAL_DIRS and COYOTOS_TARGET make
variables is not reliable. In particular, with COYOTOS_TARGET it is very
easy to do the following sequence of commands:

	make COYOTOS_TARGET=coldfire-unknown-coyotos
	... go do something else ...
	make   # defaults to i386-unknown-coyotos

and get a terribly inconsistent build. What is needed is a way to record
the desired build options within the tree so that one can "set and
forget".

There is now a script in coyotos/src. To build for i386 and qemu, you
should run it as:

	./configure --target=i386-unknown-coyotos

This will set up the tree to run just as it does now, and once set it
will stay set.

The script can also be used to set some other options:

	--xenv=PATH         path to your cross environment
	--enable=COMPONENT  to enable docs, tests
	--disable=COMPONENT

configure --help will refresh your memory. configure with no options
will tell you what is set right now.


So: if you update and your tree suddenly does not build, this is
probably why. The make process will then complain and give you a hint.
-- 
Jonathan S. Shapiro, Ph.D.
Managing Director
The EROS Group, LLC
www.coyotos.org, www.eros-os.org



More information about the coyotos-dev mailing list