1 |
2011/3/23 Mike Frysinger <vapier@g.o>: |
2 |
> On Wed, Mar 23, 2011 at 8:50 AM, Sergey Mironov wrote: |
3 |
>> Hi. I'm planning to build 3 ARM filesystem trees. Since they differs |
4 |
>> only in softfloat and mach flags in their /etc/make.conf, I don't want |
5 |
>> to maintain 3 equal cross-build environments. Thats why I'm thinking |
6 |
>> about building only one and than making 2 additional emerge wrappers, |
7 |
>> which will set right SYSROOT and call original emerge wrapper. Is it |
8 |
>> generally sufficient to make things work? |
9 |
> |
10 |
> "only" !? the two pieces you speak of are core to the code generated. |
11 |
> you'll need sep trees for each FPU target, and for each CPU class. |
12 |
> you could pick the lowest common denominator across the targets march |
13 |
> wise and build for that, but that's no fun. |
14 |
> -mike |
15 |
> |
16 |
|
17 |
I'm sorry, looks like I mentioned wrong 2 pieces. By softfloat I mean gcc flag |
18 |
-msoftfp and there should be -mcpu, not -mach. Basically, my 3 systems are based |
19 |
on |
20 |
1) arm1136 |
21 |
2) arm1176jzf with CFLAGS+=-softfp |
22 |
3) arm1176jzf without using FPU |
23 |
I think they could be built with same cross-toolchain. |
24 |
|
25 |
Sergey |