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] |
Hi all My bad, the default shell is KSH, not bash, which may explain why the braces are expanded. In the configure script, the shabang is /bin/sh, which points to ksh93. What must I conclude ? Does some of the ct-ng scripts use bash only functions, in which case the shabang is not correct ? Or wouldn't it be better to track and remove bash dependencies ? Le samedi 10 janvier 2009 Ã 19:53 +0100, Thomas Jourdan a Ãcrit : > Hi guys > > For a custom project I need crosstool running on as much platform as > possible. I will try to test and patch ct-ng for the following > versions : solaris, bsd, macos/x and window$. > > Today I was testing crosstool-ng on OpenSolaris 2008.11 and I have and > issue very early. This is during required tools checking. The issue > comes from the regular expression of the automake tool to check : > > automake=\(GNU automake\) (1\.[[:digit:]]{2,}\.|[2-9][[:digit:]]*\.) > > The regular expression seems OK but, if I display it in the has_or_abort > function, it gives : > > \(GNU automake\) (1\.[[:digit:]]2\.|[2-9][[:digit:]]*\.) > > As you can see, braces and comma disappeared from the regexp. I digged a > little and found : > > http://www.linuxjournal.com/content/bash-brace-expansion > > So I tried 'set +B' to disable bash brace expansion, without success > (bash version is 3.2.25). > > Moreover, the default automake version on OpenSolaris is 1.10 . What is > the minimal version required for ct-ng ? If any version starting from > 1.1 is ok, then this do the trick : > > - automake=\(GNU automake\) (1\.[[:digit:]]{2,}\.|[2-9][[:digit:]]*\.) > + automake=\(GNU automake\) (1\.[[:digit:]]{2,}\.|[1-9][[:digit:]]*\.) > > Yann could you please confirm me the minimal automake version, so I'll > send a patch to fix the regular expression ? > > Thomas > > > > -- > For unsubscribe information see http://sourceware.org/lists.html#faq > -- 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] |