As instructed, I downloaded binutils 2.21.1, using the wget command,
and the patches indicated.
Patch 1 (...sf3143071.patch) applied correctly
Patch 2 (...sf3386145.patch) did NOT apply correctly. It tries to modify msp430uni.sh, which
does not exist anymore (I think it's called msp430all.sh, seehttp://mspgcc.git.sourceforge.net/git/gitweb.cgi?p=mspgcc/binutils;a=commit;h=3fd56bb7addcead0e84e84fe890b93d60bc4fa5f)
So I gather there are two versions of binutils around?
This is the patch output:
patch -p1<../msp430-binutils-2.21.1-20110716-sf3379341.patch
can't find file to patch at input line 14
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From e462bd0ab062a96cc4cb1e8d8e5ca7f068b55188 Mon Sep 17 00:00:00 2001
|From: Peter A. Bigot <pabigot@users.sourceforge.net>
|Date: Wed, 27 Jul 2011 11:06:56 -0500
|Subject: [PATCH] SF 3379341: non-empty ARCH environment variable results unusable ld
|
|---
| ld/emulparams/msp430uni.sh | 1 +
| 1 files changed, 1 insertions(+), 0 deletions(-)
|
|diff --git a/ld/emulparams/msp430uni.sh b/ld/emulparams/msp430uni.sh
|index ac7473f..949fe85 100644
|--- a/ld/emulparams/msp430uni.sh
|+++ b/ld/emulparams/msp430uni.sh
--------------------------
Those are patches on top of the LTS-20110716 release. Did you first apply the base release patch msp430-binutils-2.21.1-20110716.patch?
Thanks Peter, That solved it.
I read and re-read the instructions, but must have been suffered from temporary blindness!
Cheers,
John
No problem; it does get a bit complicated sometimes.