This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: working with multiple targets
- To: Fano dot Ramparany at rd dot francetelecom dot fr, eCos Disuss <ecos-discuss at sourceware dot cygnus dot com>
- Subject: Re: [ECOS] working with multiple targets
- From: "Lewin A.R.W. Edwards" <larwe at larwe dot com>
- Date: Thu, 12 Apr 2001 09:01:20 -0400
Hi Fano,
>I'm currently working with two toolchains: the edb7xxx and the linux
>synthetic target ones.
>What I've done is build the first toolchain as explained in the
>distribution installation instruction
>then rename the directory "tools" as "toolsarm". Then build the second
>toolchain and rename
>the directory "tools" as "toolslin". I've tried add to the PATH variable
The gcc/binutils components have embedded installation paths in them. So
this is why it doesn't work when you have a different directory and try to
rename things behind gcc's back, and it's also why it DOES work if you use
the symlink (since the same path string /tools/xxxx reaches the right files
through the symlink).
Try rebuilding/reinstalling to separate directories, i.e. specify
"/toolarm/i686-pc-linux-gnu" for the ARM toolchain and
"toolsynth/i686-pc-linux-gnu" for the x86 toolchain.
=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/
"... a man who is endowed with real qualities of leadership will be tempted
to refrain from taking part in political life; because [...] the situation
does not call for a man who has a capacity for constructive statesmanship
but rather for a man who is capable of bargaining for the favour of the
majority. Thus the situation will appeal to small minds and will attract
them accordingly."