[Omake] Re: Building in subdirectories and variant builds revisited
David Kågedal
davidk at lysator.liu.se
Wed Jun 20 00:15:48 PDT 2007
Dirk Heinrichs <dirk.heinrichs.ext at nsn.com> writes:
> Am Mittwoch, 20. Juni 2007 schrieb ext David Kågedal:
>
>> $ tar zxf emacs.tar.gz
>> $ mkdir emacs/sparc-solaris
>> $ cd emacs/sparc-solaris
>> $ ../configure && make
>>
>> ... on another system:
>>
>> $ mkdir emacs/x86-linux
>> $ cd emacs/x86-linux
>> $ ../configure && make
>>
>> You wouldn't want those two to share the same build directory, and I'm
>> not even sure that omake would be able to tell when it needs to
>> recompile.
>
> If you install the compiler with a prefixed name, like
> i686-pc-linux-gnu-gcc, and use config.guess or uname to find out which
> platform you're currently building on, then that's no problem.
But why would I want to do that? To work around deficiencies in the
build system? Having multiple copies of the source tree would also
"solve" the problem. I'm trying to make sure that the build system is
good enough instead.
And it works perfectly fine with make.
--
David Kågedal
More information about the Omake
mailing list