Gentoo Archives: gentoo-embedded

From: David Relson <relson@×××××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] msp4300 toolchain
Date: Thu, 22 Dec 2011 04:42:27
Message-Id: 20111221234200.45cb5642@osagesoftware.com
In Reply to: Re: [gentoo-embedded] msp4300 toolchain by Tim Harder
1 On Wed, 21 Dec 2011 17:00:24 -0800
2 Tim Harder wrote:
3
4 > On 2011-12-20 Tue 04:51, David Relson wrote:
5 > > > There is a msp430-gcc package in portage. Have you tried that ?
6 > > > I've once upon a time used a toolchain from:
7 > > > http://cdk4msp.sourceforge.net/
8 > > > Best regards,
9 > > > Maciej Grela
10 >
11 > > In the ebuild in dev-embedded/msp430-gcc is the following line:
12 >
13 > > is_crosscompile || die "Only cross-compile builds are supported"
14 >
15 > > I'm not sure exactly what it means, but it seems to mean that this
16 > > ebuild can only be used when cross-compiling, i.e. when building
17 > > gcc to _run_ on the msp430.
18 >
19 > > I want to build a cross-compiler, i.e. a gcc that will run on my
20 > > x86_64 and create code to run on the msp430.
21 >
22 > That line means exactly what you want, i.e. you can only build
23 > msp430-gcc for cross-compiling from your amd64/x86/etc host to an
24 > msp430 target.
25 >
26 > If you have any troubles building the msp430 toolchain in the tree
27 > with crossdev please file a bug and I'll look into it since I'm the
28 > primary maintainer for the msp430 toolchain on Gentoo.
29 >
30 > Thanks,
31 > Tim
32
33 Hi Tim,
34
35 Glad to make your acquaintance !
36
37 With crossdev-20111212, binutil built fine, but gcc stage 1's build
38 encountered an error in configure. A bug has been filed.
39
40 Regards,
41
42 Davvid