[Tinyos-help] problem compiling Blink to telosb platform
Ákos Maróy
darkeye at tyrell.hu
Fri Jun 1 03:54:21 PDT 2007
Aurélien Francillon wrote:
> Any chance to have tinyos devs pushing this patch to upstream binutils ?
> that would be very convenient for everybody ...
> there have been a discussion on binutils-dev recently
that would be nice. the patch is real small:
--- binutils-2.16/gas/config/tc-msp430.h 2004-08-25
14:54:09.000000000 +0200
+++ binutils-2.16.patched/gas/config/tc-msp430.h 2007-06-01
12:23:13.000000000 +0200
@@ -101,7 +101,7 @@
example, a value of 2 might print `1234 5678' where a value of 1
would print `12 34 56 78'. The default value is 4. */
-#define LEX_DOLLAR 0
+#undef LEX_DOLLAR
/* MSP430 port does not use `$' as a logical line separator */
#define TC_IMPLICIT_LCOMM_ALIGNMENT(SIZE, P2VAR) (P2VAR) = 0
> For gentoo users the patch is included in default gentoo binutils for msp430
> version "cross-msp430/binutils-2.16.1-r3", it's provided by gentoo crossdev,
> (see http://gentoo-wiki.com/HOWTO_Cross_Compile)
I tried to use crossdev with the msp430 target, but it didn't work for
me - as it's not a 'real' target. can you provide steps on how to go
about this?
> I would recommend using my gentoo overlay here :
> https://naurel.org/svn/tinyos-2-overlay
> It includes a modified crossdev which should install a proper msp430-gcc and
> msp430-libc, it also includes ebuilds for tinyos-1.x and 2.x ...
I'm looking at your mspgcc e-build, and I'm not finding the above patch
for when it build binutils..
Akos
More information about the Tinyos-help
mailing list