Gentoo Archives: gentoo-embedded

From: Mike Frysinger <vapier@g.o>
To: Jan Kobler <eng1@×××××××××××××.de>
Cc: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Adjust paths when cross-compiling
Date: Tue, 21 Sep 2010 20:13:03
Message-Id: 201009211607.20880.vapier@gentoo.org
In Reply to: Re: [gentoo-embedded] Adjust paths when cross-compiling by Jan Kobler
1 On Monday, September 20, 2010 16:12:44 Jan Kobler wrote:
2 > Of course I am looking for the tools which are created for this explicit
3 > purpose and I like to use them.
4 >
5 > I had the suspicion that cross-fix-root and lafilefixer are such tools,
6 > but I only know their help text and their source code. I would like to
7 > know more about them, before I call them logged in as root. I don't want
8 > to corrupt my system by calling it at the wrong time, with the wrong
9 > command arguments or with the wrong environment variables.
10
11 what is unclear about cross-fix-root's help text ? rather than keep answering
12 e-mails about the same thing, i'd rather improve the output of the util and
13 point people to that.
14
15 $ cross-fix-root
16 Usage: cross-fix-root <sysroot> <cross-bindir> <cross-prefix>
17 cross-fix-root <cross-prefix>
18 cross-fix-root # takes settings from env
19
20 Environment variables:
21 CROSS_COMPILE=<cross-prefix>
22 (SYSROOT|ROOT|STAGEDIR)=<sysroot>
23
24 Description:
25 Fix library perms and mung paths in libtool linker scripts & random -config
26 scripts to point to our SYSROOT directory. Add symlinks for the -config
27 with cross-compiler prefixes as autotool packages will search for them first
28 when cross-compiling.
29 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature