This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: Support for multiple, concurrent version of tools


Hello Diwaker!
Hello All!

On Wednesday 19 August 2009 19:56:25 Diwaker Gupta wrote:
> I'm using crosstool-ng 1.4.2. In the toolchain I'm trying to build, I'd like to 
> be able to have multiple versions of tools (eg, different gcc versions) at the 
> same time. Is this possible using crosstool-ng? I searched the archives, but 
> haven't seen this answered yet.

This is not currently possible: if you were to install another toolchain
on top of an existing one for the same tuple, then you would end up
overwriting:
 - the tools: gcc, gdb, ar, as... and their runtime libraries in libexec/
 - the sysroot/ directory
 - many other things, I guess...

Definitely, this is not a good idea. So far...

We could maybe devise a plan to make it possible, but so far I haven't
got the smallest idea on how to do this. At least, append the version
number to each tool, have the sysroot a kind of hash of the version
combinations. But that's probably not enough. If you can come up with
a patch, I'd be glad to review it. ;-)

Regards,
Yann E. MORIN.

PS. I'm off to a one-week holiday (that I've been waiting for for the
past year), with scarse internet access, and no machine to work on.
I'm packing right now, and won't be reachable before I return, that is
20090828, which happens to be my girlfriend's birthday, so I won't be
really reachable before the 20090830... Party time, now! :-)
YEM.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| --==< ^_^ >==-- `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq


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