This is my first mail to this mailing list, so: Hi everybody!

XavierGr wrote:

> Of course you can even build outside of the source dir.
> e.g if you have /home/user/source/ you can make a build to
> /home/user/target/ 
> you will just have to run configure inside the folder "target" typing
> "../source/tools/configure" 
> 
> Plase correct me if I am wrong.


I also started with the approach to have the build directory not 
inside the directory structure checked out from cvs, but at the 
same level of the rootdir. 
That works, as long as you only have one checkout of the rockbox 
repository.

Note that it doesn't work to have the build dir 'anywhere', as
configure finds the source files by just searching some parts of 
the file system relative to the build dir
("for dir in  . .. ../.. ../rockbox*; do").

What drove me almost crazy, was a second checkout of the source
tree. Even if configure is ran inside the second source tree, it
will use whatever copy of the sources it finds first with its
file system search :(
So I highly recommend to have the build dir as a subdir of the 
source root dir (as written in the wiki docs). 

Ralf

-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

Reply via email to