Installing crosstool-ng fails on Debian

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Fri Oct 9 23:00:00 GMT 2009


Hendrik,
All,

On Friday 09 October 2009 23:15:26 Hendrik Sattler wrote:
> the configure script of crosstool-ng 1.5 is not able to find bash on a
> current Debian testing:

It Works For Me (TM) on my lenny system. It has bash-3.2.39 but a simple
wrapper pretending to be bash-4.0 makes configure happy here.

[--SNIP--]
> $ dpkg -l bash
> [...]
> ii  bash            4.0-4             The GNU Bourne Again SHell                                                            
> Using --with-bash=/bin/bash works for configure but the resulting Makefile has 
> bash=@@bash@@ set and many installed files also. This make ct-ng fail 
> completely. I fixed it locally by modifying Makefile and running make again. 
> Still, lib/ct-ng-1.5.0/paths.mk had still the @@bash@@ after installation. 
> After fixing that, "ct-ng works".

Hmmm. Something is deeply screwed, then. Sigh... :-(
Care to try attached patch? It should fix all --with-foo options.

I'm still interested to understand why configure can't find bash.
I'll see if I can setup a qemu with a testing in it this WE, but
I'd really appreciate if you could try to see through this...

> I want to use crosstool-ng to build a toolchain for the AVR NGW100 board :)

Yes, support for avr has just made it into crosstool-NG, but it's hidden
behind the EXPERIMENTAL option; be sure to activate it, or avr will not
be available. Also, EXPERIMENTAL really means that: it is experimental
support! Good luck, and report success/failure, please! :-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure-fix_--with-foo.patch
Type: text/x-diff
Size: 357 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20091009/685605c8/attachment.bin>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list