This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: running program ...


"Y.P.Liu." wrote:
> 
> I can build the a.out from Hello.c step by step. I build the file a.out,
> but I don't know how to run it correctly. The system was Win 2000.
>  ----- error message ----
> (gdb) run
> Starting program: /examples/a.out
> Error creating process /examples/a.out, (error 193)
> 
> (gdb)
> 
> please tell me what's warning.

How did you build it? For what target?

Unless it is a simulator target or the linux synthetic target, the right
answer is to connect to your remote target with "target remote PORT" for an
appropriate value of "PORT", load the program, and then do "continue".

All as described in the documentation.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]