Avoid running ./configure every time?

Doug Evans dje@transmeta.com
Tue Aug 19 17:10:00 GMT 2003


FAlexandros Karypidis writes:
 > Have I understood correctly?

Not quite.

Example.
Suppose your _one_ copy of the entire source tree lives in /home/foo/src.

Do the following:

cd /home/foo
mkdir build-x86
mkdir build-arm
cd build-x86
../src/configure --prefix /mumble --target <some-x86-target>
make
cd ../build-arm
../src/configure --prefix /mumble --target <some-arm-target>
make

i.e. you have one source tree and two build trees,
and both build trees are in separate directories from the source tree.
s.o.p. (standard operating procedure)

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list