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: synthetic-target-error


>>>>> "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


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