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
- Subject: Re: [ECOS] working with multiple targets
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 12 Apr 2001 13:34:00 +0100
- Cc: eCos Disuss <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Red Hat UK Ltd.
- References: <3AD55635.5ED4C9C4@rd.francetelecom.fr>
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