[Nagiosplug-help] Cross compile nagios?
yuta-vanyo at lime.ocn.ne.jp
Thu Feb 10 02:26:31 CET 2005
Thank you very much for your prompt reply.
I'll try and do it. Anyway, could you give me a hint where the relevant
libraries required by Nagios are stated ?
Again, thanks a lot!
----- Original Message -----
From: "Andreas Ericsson" <ae at op5.se>
To: <nagiosplug-help at lists.sourceforge.net>
Sent: Thursday, February 10, 2005 5:58 PM
Subject: Re: [Nagiosplug-help] Cross compile nagios?
> vanny wrote:
> > Hi, everyone.
> > I want to cross compile Nagios on x86, and then upload its binary to run
> > PowerPC. Is it possible to do so?
> Not without a cross-compiler. You'll probably need to compile your own
> gcc (make sure it doesn't install over your current one!) and read the
> docs carefully.
> For nagios, run CC="/usr/local/bin/cross-compiling-gcc" ./configure
> to make sure it uses that one instead (you might have to disable a few
> checks in ./configure as well, particularly the one checking if gcc can
> produce valid programs). You'll also need to cross-compile all libraries
> used by nagios, or compile nagios statically.
> > (I have a small PowerPc-modeled machine without hard disk, but Compact
> > . That's why I can't compile Nagios directly on it.)
> > thanks
> Andreas Ericsson andreas.ericsson at op5.se
> OP5 AB www.op5.se
> Lead Developer
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
More information about the Help