[openamq-dev] Cross-Compiling
Pieter Hintjens
ph at imatix.com
Wed Dec 26 13:50:14 CET 2007
On Dec 24, 2007 1:24 PM, Joshua.Kramer <josh at globalherald.net> wrote:
> How easy is it to cross-compile? Under GNU autoconf, I can do something
> like this:
>
> ./configure --target=arm-linux --host=arm-linux --build=i386-linux
>
> How many files do I have to edit to do the same thing for OpenAMQ?
I suspect that ./configure just passes these options through to gcc,
which you can do by exporting CCOPTS with the values you want, then
building.
Explanation: boomake calls the 'c' script for all compilation, and the
'c' script loads compiler options from the CCOPTS variable, if
defined.
So answer is: 1 file, namely your .bash_profile or wherever you set
your environment.
-Pieter
More information about the openamq-dev
mailing list