public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] Choose Crossdev destination SYSROOT.
@ 2009-12-02 15:17 Shinkan
  2009-12-10  3:32 ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: Shinkan @ 2009-12-02 15:17 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 471 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 649 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-embedded] Choose Crossdev destination SYSROOT.
  2009-12-02 15:17 [gentoo-embedded] Choose Crossdev destination SYSROOT Shinkan
@ 2009-12-10  3:32 ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2009-12-10  3:32 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: Text/Plain, Size: 596 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-10  3:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-02 15:17 [gentoo-embedded] Choose Crossdev destination SYSROOT Shinkan
2009-12-10  3:32 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox