On Monday 06 March 2006 03:58 pm, Greg L wrote:
> Thanks for both your help, it's getting past the patching stage now.
> However, it's failing out with a weird error while compiling:
>
> checking if mkdir takes one argument... no
> /home/cicl/sb-toolchains/cc/crosstool-gcc-pass1/work/gcc-3.4.5/gcc/configur
>e: line 2341: test: too many arguments
> Unknown CPU used in --with-cpu=iwmmxt --enable-cxx-flags=-mcpu=iwmmxt
> -with-float=soft
>
> If I look at cc/crosstool-gcc-pass1/work/gcc-3.4.5/gcc/config.gcc line
> 2341, "if test x$with_cpu = x ; then" it seems like "test xiwmmxt = x"
> should work, and iwmmxt is a valid choice under the arm subcategory.  I
> can't figure out what it's doing.

Take a look at the crosstool dat file where --with-cpu=iwmmxt is being set. 
Make sure that there aren't any quote characters surrounding the contents of 
the GCC_EXTRA_CONFIG or GLIBC_EXTRA_CONFIG variables. The import-crosstool.sh 
script was supposed to do this, but maybe there's a bug there.

Jon
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to