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]

Re: working with multiple targets


Fano Ramparany wrote:
> 
> 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
> "/toolsarm/H-i686...." or
> "/toolslin/H-i686..." depending on which target I'd like to work, but
> this don't work.
> The only solution I've found so far is to define /tools as a soft link
> pointing to either
> /toolsarm or /toolslin depending on which target I work. But I'm not
> satisfied with this
> solution  as it requires 2 extra steps (removing and creating the link)
> and the super user
> privilege to switch from one target to the other. Any hint for a more
> convenient solution
> welcome, particularly for sharing commands between the two toolchains.

The path "/tools" is not magic. Call it whatever you want, e.g.
/home/fano/wibble/arm and /home/fano/wibble/linux

Just make sure you use it consistently in the instructions.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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