Crosstool-ng on Solaris

Thomas Jourdan tjourdan@neuf.fr
Sat Jan 10 18:54:00 GMT 2009


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



More information about the crossgcc mailing list