Xymon Mailing List Archive search

Compile on different system?

5 messages in this thread

list Simon Lenz · Thu, 30 Dec 2010 13:40:02 +0100 ·
Hello all!

last week, i've installed a little webserver on my NAS (a mybook world 1TB
white line). And everthing works perfectly:)
Now i want to add xymon as a monitoring software on it.

But my problem is, that i haven't got the gcc. (see a list  of available
packages:
http://ipkg.nslu2-linux.org/feeds/optware/cs05q1armel/cross/unstable/Packages
)

Is it possible to compile everything on my desktopPC (x86) and simply move
it to the nas?
I haven't compiled something personally in my life, so please be a bit
tolerant;D

PS: The NAS has an ARM architecture. It is linux based with busybox.

greetings from germany
Simon
list Daniel Nordquist · Thu, 30 Dec 2010 08:32:42 -0500 ·
That works for me.  I've got a compiled xymon client that I just copy down to linux installs.  So far it's worked on everything I've tested it on, including esx servers.
quoted from Simon Lenz


From: Simon Lenz [mailto:user-e088b8c6f0b5@xymon.invalid]
Sent: Thursday, December 30, 2010 7:40 AM
To: xymon at xymon.com
Subject: [xymon] Compile on different system?

Hello all!

last week, i've installed a little webserver on my NAS (a mybook world 1TB white line). And everthing works perfectly:)
Now i want to add xymon as a monitoring software on it.

But my problem is, that i haven't got the gcc. (see a list  of available packages: http://ipkg.nslu2-linux.org/feeds/optware/cs05q1armel/cross/unstable/Packages)

Is it possible to compile everything on my desktopPC (x86) and simply move it to the nas?
I haven't compiled something personally in my life, so please be a bit tolerant;D

PS: The NAS has an ARM architecture. It is linux based with busybox.

greetings from germany
Simon

This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited.

This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: user-40803320aaf5@xymon.invalid .

If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Health by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Health.
list Simon Lenz · Thu, 30 Dec 2010 15:44:57 +0100 ·
That sounds really good:)

even if i compile it on x86 and run it on arm architecture?

greetings

On 30 December 2010 14:32, Nordquist, Daniel <
quoted from Daniel Nordquist
user-b7c65cb59f49@xymon.invalid> wrote:
 That works for me.  I’ve got a compiled xymon client that I just copy
down to linux installs.  So far it’s worked on everything I’ve tested it on,
including esx servers.


*From:* Simon Lenz [mailto:user-e088b8c6f0b5@xymon.invalid]
*Sent:* Thursday, December 30, 2010 7:40 AM
*To:* xymon at xymon.com
*Subject:* [xymon] Compile on different system?


Hello all!

last week, i've installed a little webserver on my NAS (a mybook world 1TB
white line). And everthing works perfectly:)
Now i want to add xymon as a monitoring software on it.

But my problem is, that i haven't got the gcc. (see a list  of available
packages:
http://ipkg.nslu2-linux.org/feeds/optware/cs05q1armel/cross/unstable/Packages
)

Is it possible to compile everything on my desktopPC (x86) and simply move
it to the nas?
I haven't compiled something personally in my life, so please be a bit
tolerant;D

PS: The NAS has an ARM architecture. It is linux based with busybox.

greetings from germany
Simon

This e-mail message and any attached files are confidential and are
intended solely for the use of the addressee(s) named above. If you are not
the intended recipient, any review, use, or distribution of this e-mail
message and any attached files is strictly prohibited.

This communication may contain material protected by Federal privacy
regulations, attorney-client work product, or other privileges. If you have
received this confidential communication in error, please notify the sender
immediately by reply e-mail message and permanently delete the original
message. To reply to our email administrator directly, send an email to:
user-40803320aaf5@xymon.invalid .

If this e-mail message concerns a contract matter, be advised that no
employee or agent is authorized to conclude any binding agreement on behalf
of Orlando Health by e-mail without express written confirmation by an
officer of the corporation. Any views or opinions presented in this e-mail
are solely those of the author and do not necessarily represent those of
Orlando Health.
list Stef Coene · Thu, 30 Dec 2010 16:55:50 +0100 ·
quoted from Simon Lenz
On Thursday 30 December 2010, Simon Lenz wrote:
That sounds really good:)

even if i compile it on x86 and run it on arm architecture?
No, for that you need to cross compile.
On x86 ubnutu you can install a gcc compiler that will generate arm binary's.  
I think you need:
g++-arm-linux-gnueabi - The GNU C++ compiler for armel architecture
gcc-arm-linux-gnueabi - The GNU C compiler for armel architecture

I never tried this before.

You can also tried the arm compiled binary from debian:
http://packages.debian.org/search?source=1&arch=arm&keywords=xymon

Stef
list Simon Lenz · Fri, 31 Dec 2010 03:19:04 +0100 ·
Okay thanks for the ideas,
but after a bit of searching i've found a simpler issue for the gcc problem:
switching the ipkg feed......  (as i already said i'm a complette layman;) )

nevertheless thanks for your time/help

greetings
quoted from Stef Coene

On 30 December 2010 16:55, Stef Coene <user-dbffe946c0f4@xymon.invalid> wrote:
On Thursday 30 December 2010, Simon Lenz wrote:
That sounds really good:)

even if i compile it on x86 and run it on arm architecture?
No, for that you need to cross compile.
On x86 ubnutu you can install a gcc compiler that will generate arm
binary's.
I think you need:
g++-arm-linux-gnueabi - The GNU C++ compiler for armel architecture
gcc-arm-linux-gnueabi - The GNU C compiler for armel architecture

I never tried this before.

You can also tried the arm compiled binary from debian:
http://packages.debian.org/search?source=1&arch=arm&keywords=xymon

Stef