public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* Running the hello.c example
@ 2001-10-16 15:18 Cristiano Ligieri Pereira
  2001-10-17 11:07 ` Cristiano Ligieri Pereira
  2001-10-31 15:31 ` Ben Elliston
  0 siblings, 2 replies; 14+ messages in thread
From: Cristiano Ligieri Pereira @ 2001-10-16 15:18 UTC (permalink / raw)
  To: sid


Hi all,

First of all I've got really impressed when I saw this tools avaiable on
RedHat website. Such thing to explore different design choices for
embedded systems is very much valuable for both industry and academic
(where I am in) environments.

Second of all, I've downloaded the source code using cvs and compiled it
successfully. As a starting point I'm trying to execute the simple hello.c
example described in the FAQ webpage and I'm facing some problems as
follows.

If I try to execute exacly as described in the website I get the following
errors:

% arm-elf-gcc -EL hello.c -o hello.x

arm-elf-gcc: unrecognized option `-EL'
/tools/H-i686-pc-linux-gnu/arm-elf/bin/ld: cannot open crt0.o: No such
file or directory
collect2: ld returned 1 exit status

If I remove the 'L' option and add -I/usr/include and execute the command
as follows:

% arm-elf-gcc -I/usr/include -E hello.c -o hello.x

it works fine and generate the hello.x file, which is post-preprocessing
version of the file hello.c (which I thought it was weird since as far as
I understood I need the executatble version, isn't it?).

Anyways, It turns out to does not work. When trying arm-elf-sid I get the
following:

% arm-elf-sid hello.x
loader: error loading hello.x

What am I missing?

My main goal is to be able to execute RedHat eCos. Any pointers in this
direction?

Thanks a lot,
Cristiano.

------------------------------------------------------------
Cristiano Ligieri Pereira - http://www.ics.uci.edu/~cpereira

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2001-11-19 21:17 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-16 15:18 Running the hello.c example Cristiano Ligieri Pereira
2001-10-17 11:07 ` Cristiano Ligieri Pereira
2001-11-10  7:38   ` Ben Elliston
2001-11-10 11:10     ` Cristiano Ligieri Pereira
2001-11-10 16:07       ` Ben Elliston
2001-11-12 19:29         ` Cristiano Ligieri Pereira
2001-11-18 17:22           ` Cristiano Ligieri Pereira
2001-11-12 20:03         ` Cristiano Ligieri Pereira
2001-11-13 11:30           ` J. Johnston
2001-11-13 13:12             ` Cristiano Ligieri Pereira
2001-11-19 13:17               ` Cristiano Ligieri Pereira
2001-11-19 10:58             ` J. Johnston
2001-11-18 19:11           ` Cristiano Ligieri Pereira
2001-10-31 15:31 ` Ben Elliston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).