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 12-02-2009, 02:17 PM
Shinkan
 
Default Choose Crossdev destination SYSROOT.

Hi everyone.

I read from "Creating a Cross Compiler" (http://www.gentoo.org/proj/en/base/embedded/handbook/index.xml?part=1&chap=4) that cross-compiling env is popped to /usr/$CTARGET


Is there any clean way of setting this to another directory like /mytargets/atarget/build_env/ ?

Then you.
--
Pierre.
"Sometimes when I'm talking, my words can't keep up with my thoughts. I wonder why we think faster than we speak. Probably so we can think twice." - Bill Watterson
 
Old 12-10-2009, 02:32 AM
Mike Frysinger
 
Default Choose Crossdev destination SYSROOT.

On Wednesday 02 December 2009 10:17:31 Shinkan wrote:
> I read from "Creating a Cross Compiler" (
> http://www.gentoo.org/proj/en/base/embedded/handbook/index.xml?part=1&chap=
> 4) that cross-compiling env is popped to /usr/$CTARGET
> Is there any clean way of setting this to another directory like
> /mytargets/atarget/build_env/ ?

not really. the sysroot (/usr/CTARGET) is used throughout the toolchain
(binutils/gcc/glibc/etc...). you can emerge packages to a different ROOT=,
but it just gets painful to teach gcc to use that other ROOT as an additional
system path.
-mike
 

Thread Tools




All times are GMT. The time now is 07:49 PM.

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