This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: synthetic-target-error
- From: Bart Veer <bartv at tymora dot demon dot co dot uk>
- To: arun at anwsi dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 29 Jul 2002 23:33:42 +0100 (BST)
- Subject: Re: [ECOS] synthetic-target-error
- References: <64270-220027122124019276@M2W069.mail2web.com>
- Reply-to: bartv at tymora dot demon dot co dot uk
>>>>> "Arun" == arun%anwsi com@mail3 srivari net <arun%anwsi.com@mail3.srivari.net> writes:
Arun> hello friends i tried to compile ecos for linux-synthetic
Arun> targets
Arun> for that i followed the steps given for building
Arun> binutils,gcc& gdb
Those instructions are out of date for the current version of the
synthetic target, i.e. anoncvs. From the current documentation:
When developing eCos applications for a normal embedded target it is
necessary to use a suitable cross-compiler and related tools such as
the linker. Developing for the synthetic target is easier because
you can just use the standard GNU tools (gcc, g++, ld, ...) which
were provided with your Linux distribution, or which you used to
build your own Linux setup. Any reasonably recent version of the
tools, for example gcc 2.96(Red Hat) as shipped with Red Hat Linux
7, should be sufficient.
Building special tools is only necessary if for some strange reason
you wanted to do cross-development of synthetic target code, e.g.
build it on a Windows machine and then run the resulting application
on a Linux box. The CDL scripts for the synthetic target detect
whether or not you are developing on a Linux box: if you are then by
default everything gets built using the system-supplied tools such as
gcc; otherwise you are cross-compiling and everything gets built using
i686-pc-linux-gnu versions of the tools.
Bart
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss