Re: no Hello World!!
- From: rwittenberg@xxxxxxxxxxxxxxx
- Date: 19 Mar 2007 16:37:41 -0700
Why didn't you tell from the start that you compiled the program on
one machine and then copied it to another one, trying to run it
there? That normally doesn't work and immediately explains your
troubles.
I thought I said that from the first post. Sorry if I wasn't clear
enough. I should have made it more clear.
Well, obviously FC6 and Woody are different enough systems to
make it impossible to simply copy a program from one machine
to the other and having it run on there, while RH9 and Woody
are similar enough. Probably different versions of the libc or
ld-linux.so, different locations of where the essential libra-
ries are, and maybe different additional libraries required
(as you can see, FC6 needs some linux-gate.so that probably
doesn't even exist on the other systems). Forget about that
and get used to compiling your programs on the target machine,
you're in for a lot of grieve otherwise. Or link statically
if you really have no alternatve to moving the binary, that's
the only more or less practical method.
My target machine runs Debian from a compact flash card on a single
board computer. I want to use my "shiny" eclipse environment running
on FC6 to write programs for it. My programs that I ported over from
my old RH9 box into FC6 stopped working on the target system and thats
when I got down to the basics and wrote a hello world program.
The problem is my single board computer is resource constrained and
the debian installed on it is a barebones installation. I do not have
a compiler installed and definitely could not run a software IDE on
it. These are some of the reasons for me having to do it this way.
-RWit
.
- Follow-Ups:
- Re: no Hello World!!
- From: Jens Thoms Toerring
- Re: no Hello World!!
- References:
- no Hello World!!
- From: rwittenberg
- Re: no Hello World!!
- From: Jens Thoms Toerring
- Re: no Hello World!!
- From: rwittenberg
- Re: no Hello World!!
- From: Jens Thoms Toerring
- Re: no Hello World!!
- From: rwittenberg
- Re: no Hello World!!
- From: Jens Thoms Toerring
- no Hello World!!
- Prev by Date: Re: no Hello World!!
- Next by Date: Re: no Hello World!!
- Previous by thread: Re: no Hello World!!
- Next by thread: Re: no Hello World!!
- Index(es):
Relevant Pages
|