This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problem downloading test programs (i386 pc)
- To: "davide_ciminaghi at libero dot it" <davide_ciminaghi at libero dot it>
- Subject: Re: [ECOS] Problem downloading test programs (i386 pc)
- From: Jesper Skov <jskov at redhat dot com>
- Date: 02 Aug 2001 14:32:58 +0200
- Cc: ecos-discuss at sources dot redhat dot com
- References: <GHFSYQ$Iqy2ZNCGXWgr6Sh4lqW4kLZTtWK1uDw6lnyV4xDGvv0c2gqOHXc@libero.it>
>3) Configured ecos for the i386 pc target (ecosconfig new pc stubs)
>4) Created a build tree (ecosconfig tree)
>5) Built the gdb image and tests (make ; make tests): no errors and
> everything seems to work exactly as described on the docs.
This is wrong: you need to build stubs in one tree, and the tests in
another tree. Otherwise they end up having the same memory layout,
trashing the stubs as you download a test.
For the tests, do:
mkdir pc-tests; cd pc-tests
ecosconfig new pc
make tests
Jesper