This is the mail archive of the
mailing list for the eCos project.
Re: Problem in ecos test files
- From: Shaojie Wang <shaojie73 at yahoo dot com>
- To: Andrew Lunn <andrew dot lunn at ascom dot ch>
- Cc: Peter dot Barrie at cis dot strath dot ac dot uk, ecos-discuss at sources dot redhat dot com, Gary Thomas <gthomas at redhat dot com>, Stephen Holford <sholford at wescam dot com>, Paul Randall <prandall at delta-info dot com>
- Date: Wed, 20 Feb 2002 10:06:22 -0800 (PST)
- Subject: Re: [ECOS] Problem in ecos test files
The test program is supposed to execute on the target.
Do I have to set up the target before i execute
--- Andrew Lunn <email@example.com> wrote:
> On Wed, Feb 20, 2002 at 06:56:38AM -0800, Shaojie
> Wang wrote:
> > Hi,
> > I just downloaded ecos 1.3.1 and configured it for
> > i386 successfully on LINUX. A problem occurs when
> > tried to run the test program. There is
> > fault when i run the hello example on the host.
> > The guide syas i use gcc -g ... -Ttarget.ld
> > to compile "hello.c". Then use gdb -nw a.out to
> > execute the program. But there is a segmentation
> > fault.
> > Why i should use "gcc" and "gdb", not
> > and "i386-elf-gdb"? The version of the gcc
> > on my machine is 2.96 while i use gcc of version
> > to build the i386-elf-gcc.
> First off, i suggest you update to the anoncvs
> version of eCos. 1.3.1
> is a few years old. You should then be able to use
> the native tools.
> In not clear from your message what is seg faulting,
> gdb or hello?
> Before posting, please read the FAQ:
> and search the list archive:
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss