FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Embedded

 
 
LinkBack Thread Tools
 
Old 03-23-2011, 11:50 AM
Sergey Mironov
 
Default one cross-toolchain, many filesystem trees.

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.
 
Old 03-23-2011, 01:50 PM
Mike Frysinger
 
Default one cross-toolchain, many filesystem trees.

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
 
Old 03-27-2011, 08:47 AM
Sergey Mironov
 
Default one cross-toolchain, many filesystem trees.

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
 

Thread Tools




All times are GMT. The time now is 03:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org