Gentoo Archives: gentoo-embedded

From: billium <billium@×××××××××××.uk>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] crossdev
Date: Wed, 08 Jul 2009 16:08:44
Message-Id: 4A54C5EE.90902@bucknall.me.uk
1 Hello all I'm after help on crossdev again.
2 My host system is amd64, stage required is s3.
3 The target is arm cortex with using newlib.
4
5 If I try crossdev -s3 -t arm-elf-gnueabi
6 in the summary header libc: glibc-[latest]
7 and it fails with BFD does not support target.
8
9 If I try crossdev -s3 -t arm-elf-eabi (also arm-unknown-elf-eabi)
10 in the summary header libc: -[latest]
11 and it fails at cross-linux-headers as libc is unknown.
12
13 If I cheat
14 and modify the /usr/sbin/crossdev script and change the default LPKG
15 from LPKG="" to LPKG="newlib" on line 343.
16 in the summary header libc: newlib-[latest]
17 and it works fine and the code produced works on the chips, the same for
18 arm-none-eabi which is required for working with some of the sample code
19 provided.
20
21 If I add --ex-gdb (or --ex-insight) the summary has Extra: gdb: DO IT
22 but no gdb (or insight) is produced.
23
24 If I try, with no modification, crossdev -s3 --ex-gdb -t
25 arm-unknown-linux-gnu it works fine, with no errors but produces no
26 extra gdb.
27
28 If I try, with my cheat, crossdev --ex-gdb -t arm-elf-eabi, fails with
29 "checking for acoshf in -lm... make[1] , is there any way to get gdb or
30 insight with s3?
31
32
33 Many thanks
34
35 Billy

Replies

Subject Author
Re: [gentoo-embedded] crossdev Mike Frysinger <vapier@g.o>