1 |
Hi Chris |
2 |
I am very pleased with the fact, that someone is doing something to support |
3 |
ep93xx in gentoo. |
4 |
I would like to help you with something, at least with extensive testing, but |
5 |
if you will guide me, possibly with some coding too. |
6 |
Unfortunately i have not as good knowledge of the portage/ebuild function as |
7 |
needed. |
8 |
I am five years experienced user of gentoo, but not developer. |
9 |
I never wrote any ebuild, i did only some changes in some existing. |
10 |
|
11 |
Jakub Ladman |
12 |
|
13 |
Dne Sunday 27 January 2008 20:55:01 Christopher Friedt napsal(a): |
14 |
> Jakub Ladman wrote: |
15 |
> > I am using ep9307, but i can't find a way to set up crossdev to build |
16 |
> > cross-compiler toolchain for maverick-crunch and the eabi extensions. |
17 |
> > But i failed to match the right libc and gcc versions and CFLAGS ... to |
18 |
> > build softfloat uclibc toolchain too. |
19 |
> > Even the toolchain created by scripts from http://arm.cirrus.com worksn't |
20 |
> > good (C compiler seems to be OK, but C++ compiling fails everytime in the |
21 |
> > linker phase) |
22 |
> |
23 |
> Interesting... I'm using the 'crunch.tar.gz' package that has several |
24 |
> bitbake scripts (.bb files) from the cirrus list as well. |
25 |
> |
26 |
> http://martinwguy.co.uk/martin/FPU/futaris |
27 |
> |
28 |
> My plan is to just create my own portage overlay, and root through all |
29 |
> of the patches (one by Mike Frysinger, I might add) to get eabi and |
30 |
> maverick crunch working. |
31 |
> |
32 |
> Binutils-2.17 was quite simple to patch (there was only 1 patch file), |
33 |
> but gcc seems to have _lots_ ... |
34 |
> |
35 |
> Aside from that, I think that ECONF_EXTRA needs to be set in order to |
36 |
> get crunch support by default on the C compiler. For that, what I'm |
37 |
> using is: |
38 |
> |
39 |
> ECONF_EXTRA="--without-x --enable-languages=c,c++ \ |
40 |
> --with-cpu=ep9312 --with-float-abi=softfp --with-fpu=maverick" \ |
41 |
> crossdev -S armv4t-maverick-linux-gnueabi |
42 |
> |
43 |
> (these options can be passed to the gcc configure script, see |
44 |
> gcc*/INSTALL/index.html -> configure) |
45 |
> |
46 |
> (I assume that when you say gnueabi, then it will set --with-abi=aapcs |
47 |
> or whatever that option is... all of the options are in |
48 |
> gcc*/gcc/config/arm) |
49 |
> |
50 |
> > I was really depressed of it. |
51 |
> > My last chance to have any working compiler toolchain, was connencting a |
52 |
> > harddrive via usb<>sata cable, to my evaluation board and install there a |
53 |
> > stage3 for softfloat arm. |
54 |
> |
55 |
> Sorry, are you having problems creating an i686 -> |
56 |
> arm-softfloat-linux-gnu cross-compiler or cross-compiling gcc for |
57 |
> softfloat? Softfloat should compile cleanly, but I've had to apply two |
58 |
> patches (1 of which should definitely be upstream) |
59 |
> |
60 |
> 1) externalize jar and 2) @progbits patch for arm/sysv.S |
61 |
> |
62 |
> The externalize jar patch is only necessary for libjava / gcj ... and |
63 |
> from what I've seen, it's pretty damn slow on the arm anyway, so I'll |
64 |
> probably forget about it. |
65 |
> |
66 |
> I'll let you know if I have any success with my overlay, but sorting |
67 |
> through all of the patches for gcc might take quite a bit of time. |
68 |
> |
69 |
> ~/Chris |
70 |
|
71 |
|
72 |
-- |
73 |
gentoo-embedded@l.g.o mailing list |