[okl4-developer] Building a Wombat app...

Geoffrey Lee glee at ok-labs.com
Sat Jan 26 12:35:05 EST 2008


On Fri, Jan 25, 2008 at 09:26:14AM -0800, Subcommander l0r3zz wrote:
> 
> 
> 
> configure has already been run and what is in the directory is the resultant
> makefile and source.
> I tried to use pciutils as a template, but I guess I missed something.
> 

I created a very simple test hello program with the following makefile:

all: hello

install:
	install hello $(PREFIX)/bin


Copied the Sconscript from pciutils and replaced all instances of 
pciutils there with my test program.

I used 

./tools/build.py linux_apps=hello project=iguana wombat=True
machine=ia32_pc99


To invoke it and it built successfully and put my program in the right
place.

This leads me to think something has gone wrong with either how the
Make-based build system is invoked (wrong flags compilers etc) or
how it is doing its job of building scsh.

But anyway, to answer your question, the variables should be set
correctly.

	-gl



More information about the Developer mailing list