1 |
On Tue, 20 Dec 2011 13:26:09 +0100 |
2 |
Maciej Grela wrote: |
3 |
|
4 |
> 2011/12/20 David Relson <relson@×××××××××××××.com>: |
5 |
> > On Tue, 20 Dec 2011 07:02:53 +0100 |
6 |
> > Peter Stuge wrote: |
7 |
> > |
8 |
> >> David Relson wrote: |
9 |
> >> > I'd like to do some development with TI's msp430 processors. As |
10 |
> >> > a starting point I've got the TI LaunchPad which has an |
11 |
> >> > msp430g2231. |
12 |
> >> |
13 |
> >> I'm not sure Linux is relevant for those 16-bit chips, nor uClibc? |
14 |
> >> |
15 |
> >> |
16 |
> >> //Peter |
17 |
> > |
18 |
> > I'm not interested in running Linux on the MSP430. My goal is to |
19 |
> > use Linux to cross-compile code that will run on the MSP430. |
20 |
> > |
21 |
> |
22 |
> There is a msp430-gcc package in portage. Have you tried that ? I've |
23 |
> once upon a time used a toolchain from: |
24 |
> |
25 |
> http://cdk4msp.sourceforge.net/ |
26 |
> |
27 |
> Best regards, |
28 |
> Maciej Grela |
29 |
|
30 |
In the ebuild in dev-embedded/msp430-gcc is the following line: |
31 |
|
32 |
is_crosscompile || die "Only cross-compile builds are supported" |
33 |
|
34 |
I'm not sure exactly what it means, but it seems to mean that this |
35 |
ebuild can only be used when cross-compiling, i.e. when building gcc to |
36 |
_run_ on the msp430. |
37 |
|
38 |
I want to build a cross-compiler, i.e. a gcc that will run on my x86_64 |
39 |
and create code to run on the msp430. |