This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Avoid running ./configure every time?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]