1 |
Jakub Ladman wrote: |
2 |
> Dne Sunday 30 December 2007 20:16:22 Mike Frysinger napsal(a): |
3 |
>> On Sunday 30 December 2007, Jakub Ladman wrote: |
4 |
>>> Dne Sunday 30 December 2007 19:28:39 jste napsal(a): |
5 |
>>>> On Sunday 30 December 2007, Jakub Ladman wrote: |
6 |
>>>>> hovado / # crossdev --g 3.4.6 --target arm-softfloat-linux-uclibc |
7 |
>>>> review crossdev usage. the --g option is explicit down to the portage |
8 |
>>>> rev. if you quickly glance in the log file, you'll see it's trying to |
9 |
>>>> build gcc-3.3.6. |
10 |
>>> I do not understand you precisely. What version of gcc in --g parameter |
11 |
>>> should i use to have gcc-3.4.6? |
12 |
>> the --g option is a portage version and is used as the max allowed version. |
13 |
>> 3.4.6 has an implicit -r0 on it which means you're only |
14 |
>> allowing "<=gcc-3.4.6-r0". there is no gcc-3.4.6-r0 in portage, just |
15 |
>> gcc-3.4.6-r2, so gcc-3.3.6-r1 was selected. you'll need to use something |
16 |
>> like --g 3.4.6-r2. |
17 |
>> -mike |
18 |
> |
19 |
> Hi |
20 |
> Unfortunately it helps not |
21 |
> It have generated gcc 3.4.2-r2 now, but uclibc failed again. |
22 |
> See the logs please. |
23 |
|
24 |
This is more gooder. :-) |
25 |
|
26 |
################################################################# |
27 |
arm-softfloat-linux-uclibc-strip -x -R .note -R .comment syscall.o |
28 |
arm-softfloat-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs |
29 |
-fno-strict-aliasing -mlittle-endian -msoft-float -fno-stack-protector |
30 |
-fno-builtin -nostdinc -D_LIBC -I../../../../include -I. |
31 |
-fstrict-aliasing -Os -funit-at-a-time -isystem |
32 |
/usr/lib/gcc/arm-softfloat-linux-uclibc/3.4.6/include -DNDEBUG -fPIC -c |
33 |
ioperm.c -o ioperm.o |
34 |
ioperm.c:47:22: asm/page.h: No such file or directory |
35 |
make[4]: *** [ioperm.o] Error 1 |
36 |
make[4]: Leaving directory |
37 |
`/var/tmp/cross/arm-softfloat-linux-uclibc/portage/cross-arm-softfloat-linux-uclibc/uclibc-0.9.28.3-r1/work/uClibc-0.9.28.3/libc/sysdeps/linux/arm' |
38 |
################################################################# |
39 |
|
40 |
go into /usr/arm-softfloat-linux-uclibc/usr/src/linux/include/ and make |
41 |
sure ./asm->./asm-arm |
42 |
|
43 |
Also, |
44 |
|
45 |
################################################################# |
46 |
* You really should consider setting UCLIBC_CPU |
47 |
* Otherwise, the build will be generic (read: slow). |
48 |
################################################################# |
49 |
|
50 |
>From the ebuild: |
51 |
CPU_ARM="GENERIC_ARM |
52 |
ARM{610,710,720T,920T,922T,926T,_{SA110,SA1100,XSCALE}}" |
53 |
|
54 |
For example, I 'export UCLIBC_CPU=ARM_XSCALE' for my ixp425 processor board. |
55 |
|
56 |
hth, |
57 |
|
58 |
Jason. |
59 |
-- |
60 |
gentoo-embedded@g.o mailing list |