On Fri, Sep 11, 2009 at 4:43 PM, Mark Rages <[email protected]> wrote:
> Ok, support for many processors is missing because binutils is not patched.
>
> I think it is a copypaste error in the build script:
>
> Index: buildgcc.sh
> ===================================================================
> --- buildgcc.sh (revision 7)
> +++ buildgcc.sh (working copy)
> @@ -187,9 +187,9 @@
>
>        cd binutils-$BINUTILS_VERSION
>
> -       if [ -e ../../binutils-$GCC_VERSION.patch ]
> +       if [ -e ../../binutils-$BINUTILS_VERSION.patch ]
>        then
> -               patch -p1 < ../../binutils-$GCC_VERSION.patch
> +               patch -p1 < ../../binutils-$BINUTILS_VERSION.patch
>        fi
>
>        ./configure --prefix=$TARGET_LOCATION --target=msp430 || exit 5
>
>

OK, and with a patched binutils, the fixprocs.pl makes a total mess.
so I just commented that line out:
#cat binutils-$BINUTILS_VERSION/gas/config/tc-msp430.c | perl ../fixprocs.pl

Now the build script works for me and I can build for my processor.

Regards,
Mark
markra...@gmail
-- 
Mark Rages, Engineer
Midwest Telecine LLC
[email protected]

Reply via email to