Gentoo Archives: gentoo-alt

From: Michael Weiser <michael@×××××××××××××××.net>
To: gentoo-alt <gentoo-alt@l.g.o>
Subject: [gentoo-alt] Compiling package in Prefix with ROOT and no EPREFIX
Date: Thu, 07 Apr 2016 19:00:32
Message-Id: 20160407184317.GA9432@weiser.dinsnail.net
1 Hi again,
2
3 I can now, basically by sorting when to override CC to clang an when not
4 to, cross-compile glibc on OS X for arm*linux and powerpc-linux. In a
5 two-step process of first compiling stage1 and then stage4 via crossdev
6 that gives me full cross-toolchains.
7
8 As was to be expected, I'm now faced with the fact that all packages I
9 compile *for* the target and install into ROOT=EPREFIX/usr/CTARGET get
10 compiled for a Prefix in EPREFIX on the target and thus install into
11 ROOT/EPREFIX.
12
13 Is there a way to build a package in Prefix with ROOT set and EPREFIX
14 unset?
15
16 Could I, worst case, install a separate instance of non-prefix-portage
17 or an instance of prefix-portage with EPREFIX="" for that?
18 --
19 Thanks,
20 Michael

Replies

Subject Author
Re: [gentoo-alt] Compiling package in Prefix with ROOT and no EPREFIX Michael Weiser <michael@×××××××××××××××.net>