public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: [ECOS] "Hello, world" on AEB without gdb
@ 2000-01-27  6:42 k e
  0 siblings, 0 replies; 5+ messages in thread
From: k e @ 2000-01-27  6:42 UTC (permalink / raw)
  To: Gary Thomas, Jesper Skov; +Cc: ecos-discuss, k e

Thanks for the replies.
I'd prefer to learn, first, how to compile, link, etc.
an AEB executable (without gdb info) for --> RAM <--.
So a couple of questions on how to build a simple
program for execution on the AEB without gdb and
loaded only into RAM:
- Will I still need to configure a kernel with the ROM
  option, or should I be able to use my RAM
  configuration that I've successfully used
  to build simple programs that DO run under gdb?
- Are there any special compiler options to "clean
  up" the code, or with the objcopy --strip-debug
  take care of all of the cleanup.
- Are there any special linker options that are
  required to ensure that the correct startup
  routines are loaded since gdb will not be helping
  out?
- Is there a need for the change-addresses function
  if I only want to execute from the default load
  point in RAM?

I've been able to build (using the RAM kernel) and
download what I thought was going to be an executable
that wouldn't need gdb to execute, but it didn't
work... I must still be missing something


If my description, above, isn't enough to go on,
I'll re-submit a note detailing the steps I've taken.

Thanks for you patience,
keith
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [ECOS] "Hello, world" on AEB without gdb
@ 2000-01-25 19:40 k e
  2000-01-26  0:06 ` Jesper Skov
  0 siblings, 1 reply; 5+ messages in thread
From: k e @ 2000-01-25 19:40 UTC (permalink / raw)
  To: ecos-discuss

Another, hopefully, simple newbie question:

Can someone point me to an online document or explain
briefly the steps involved in building a simple single
thread routine for the AEB that does NOT require gdb
to
load and execute.  Am I correct in thinking that it
involves using objcopy?  I'd like to get the simple
"Hello, world" routine that is in the 'Getting Started
with eCos' document to work outside of the debugger.
Then watch it tell me 'hello'.
I assume it will involve some or more than the
following steps:
 - possibly, configure a kernel for non-gdb ARM AEB???
 - compile with some special options
 - link with some other options
 - maybe some sort of translation to ARM object code
 - then a translation to ASCII (UUENCODE)
 - then an interactive session with the AEB booter
   that would involve loading and then execution
Or, am I off in "left field"?

Thanks,
keith
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

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

end of thread, other threads:[~2000-01-27  6:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20000126200423.391.qmail@web1106.mail.yahoo.com>
2000-01-26 13:22 ` [ECOS] "Hello, world" on AEB without gdb Jesper Skov
2000-01-27  5:17   ` Gary Thomas
2000-01-27  6:42 k e
  -- strict thread matches above, loose matches on Subject: below --
2000-01-25 19:40 k e
2000-01-26  0:06 ` Jesper Skov

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).