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: Installing crosstool-ng fails on Debian


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.  |
`------------------------------^-------^------------------^--------------------'
diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -121,6 +121,7 @@
                     eval val="\${${var}}"
                     if [ -n "${val}" ]; then
                         printf "${val} (cached)\n"
+                        add_to_var_list "${var}"
                         return 0
                     fi
                 fi

--
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]