Cross compiling upstart 0.6.3
Kees Jongenburger
kees.jongenburger at gmail.com
Tue Aug 25 07:43:01 BST 2009
On Mon, Aug 24, 2009 at 1:37 PM, Scott James Remnant<scott at netsplit.com> wrote:
> On Thu, 2009-08-20 at 20:22 +0200, Kees Jongenburger wrote:
>
>> I am trying to cross compile upstart 0.6.3 and am encountering a
>> problem. The build system uses nih-dbus-tool to generate dbus stubs
>> and to be able to cross compile I need nih-dbus-tool to be compiled
>> targeting the host system but the rest of the binaries to targeted
>> towards the target architecture (arm) and I am searching for a clean
>> way to do this.
>>
> Actually you mean you need nih-dbus-tool compiled for the build
> architecture, not the host architecture (to use autoconf parlance).
I tried to keep use the terminology used in gdb configure documentation
http://sources.redhat.com/gdb/onlinedocs/gdb_31.html
"
One popular reason to build several GDB configurations in separate
directories is to configure GDB for cross-compiling (where GDB runs on
one machine--the host---while debugging programs that run on another
machine--the target). You specify a cross-debugging target by giving
the `--target=target' option to `configure'. "
>
> I've no idea how to do this, but would gladly accept patches - I imagine
> that it must be possible with Automake.
The main problem is that I also need to compile nih and nih-dbus
object is a separate directory when compiling the
code generator.
Greetings
More information about the upstart-devel
mailing list