* [gentoo-embedded] one cross-toolchain, many filesystem trees.
@ 2011-03-23 12:50 Sergey Mironov
2011-03-23 14:50 ` Mike Frysinger
0 siblings, 1 reply; 3+ messages in thread
From: Sergey Mironov @ 2011-03-23 12:50 UTC (permalink / raw
To: gentoo-embedded
Hi. I'm planning to build 3 ARM filesystem trees. Since they differs
only in softfloat and mach flags in their /etc/make.conf, I don't want
to maintain 3 equal cross-build environments. Thats why I'm thinking
about building only one and than making 2 additional emerge wrappers,
which will set right SYSROOT and call original emerge wrapper. Is it
generally sufficient to make things work?
Thanks in advance.
Sergey.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-embedded] one cross-toolchain, many filesystem trees.
2011-03-23 12:50 [gentoo-embedded] one cross-toolchain, many filesystem trees Sergey Mironov
@ 2011-03-23 14:50 ` Mike Frysinger
2011-03-27 8:47 ` Sergey Mironov
0 siblings, 1 reply; 3+ messages in thread
From: Mike Frysinger @ 2011-03-23 14:50 UTC (permalink / raw
To: gentoo-embedded
On Wed, Mar 23, 2011 at 8:50 AM, Sergey Mironov wrote:
> Hi. I'm planning to build 3 ARM filesystem trees. Since they differs
> only in softfloat and mach flags in their /etc/make.conf, I don't want
> to maintain 3 equal cross-build environments. Thats why I'm thinking
> about building only one and than making 2 additional emerge wrappers,
> which will set right SYSROOT and call original emerge wrapper. Is it
> generally sufficient to make things work?
"only" !? the two pieces you speak of are core to the code generated.
you'll need sep trees for each FPU target, and for each CPU class.
you could pick the lowest common denominator across the targets march
wise and build for that, but that's no fun.
-mike
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-embedded] one cross-toolchain, many filesystem trees.
2011-03-23 14:50 ` Mike Frysinger
@ 2011-03-27 8:47 ` Sergey Mironov
0 siblings, 0 replies; 3+ messages in thread
From: Sergey Mironov @ 2011-03-27 8:47 UTC (permalink / raw
To: gentoo-embedded
2011/3/23 Mike Frysinger <vapier@gentoo.org>:
> On Wed, Mar 23, 2011 at 8:50 AM, Sergey Mironov wrote:
>> Hi. I'm planning to build 3 ARM filesystem trees. Since they differs
>> only in softfloat and mach flags in their /etc/make.conf, I don't want
>> to maintain 3 equal cross-build environments. Thats why I'm thinking
>> about building only one and than making 2 additional emerge wrappers,
>> which will set right SYSROOT and call original emerge wrapper. Is it
>> generally sufficient to make things work?
>
> "only" !? the two pieces you speak of are core to the code generated.
> you'll need sep trees for each FPU target, and for each CPU class.
> you could pick the lowest common denominator across the targets march
> wise and build for that, but that's no fun.
> -mike
>
I'm sorry, looks like I mentioned wrong 2 pieces. By softfloat I mean gcc flag
-msoftfp and there should be -mcpu, not -mach. Basically, my 3 systems are based
on
1) arm1136
2) arm1176jzf with CFLAGS+=-softfp
3) arm1176jzf without using FPU
I think they could be built with same cross-toolchain.
Sergey
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-27 9:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-23 12:50 [gentoo-embedded] one cross-toolchain, many filesystem trees Sergey Mironov
2011-03-23 14:50 ` Mike Frysinger
2011-03-27 8:47 ` Sergey Mironov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox