From: "Mike Frysinger (vapier)" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo commit in xml/htdocs/proj/en/base/embedded/handbook: cross-compiling-packages.xml
Date: Fri, 18 Jan 2008 00:34:31 +0000 [thread overview]
Message-ID: <E1JFfBn-0003sr-8L@stork.gentoo.org> (raw)
vapier 08/01/18 00:34:31
Modified: cross-compiling-packages.xml
Log:
also remove PKG_CONFIG_PATH from pkg-config environment and make the naming directions a little more clear
Revision Changes Path
1.4 xml/htdocs/proj/en/base/embedded/handbook/cross-compiling-packages.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/base/embedded/handbook/cross-compiling-packages.xml?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/base/embedded/handbook/cross-compiling-packages.xml?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/base/embedded/handbook/cross-compiling-packages.xml?r1=1.3&r2=1.4
Index: cross-compiling-packages.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/base/embedded/handbook/cross-compiling-packages.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- cross-compiling-packages.xml 29 Dec 2007 09:42:41 -0000 1.3
+++ cross-compiling-packages.xml 18 Jan 2008 00:34:30 -0000 1.4
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/base/embedded/handbook/cross-compiling-packages.xml,v 1.3 2007/12/29 09:42:41 vapier Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/base/embedded/handbook/cross-compiling-packages.xml,v 1.4 2008/01/18 00:34:30 vapier Exp $ -->
<sections>
@@ -192,9 +192,10 @@
<p>
You should install this into your PATH so that configure scripts will detect it
properly. Name it with a CTARGET prefix and the script will do the rest. In
-other words, the canonical name is <c>CTARGET-pkg-config</c>. Older configure
-scripts would only search for <c>pkg-config</c>, so in those cases you will
-need to export the <c>PKG_CONFIG</c> variable to the wrapper script.
+other words, if your CTARGET is set to <c>arm-linux-uclibc</c>, the canonical
+name is <c>arm-linux-uclibc-pkg-config</c>. Older configure scripts would only
+search for <c>pkg-config</c>, so in those cases you will need to export the
+<c>PKG_CONFIG</c> variable to the wrapper script.
</p>
<pre caption="cross-pkg-config wrapper">
@@ -202,7 +203,7 @@
CTARGET=${0%-pkg-config}
SYSROOT="/usr/${CTARGET}"
export PKG_CONFIG_LIBDIR="${SYSROOT}/usr/lib/pkgconfig"
-unset PKG_CONFIG_ALLOW_SYSTEM_CFLAGS PKG_CONFIG_ALLOW_SYSTEM_LIBS
+unset PKG_CONFIG_PATH PKG_CONFIG_ALLOW_SYSTEM_CFLAGS PKG_CONFIG_ALLOW_SYSTEM_LIBS
exec pkg-config "$@"
</pre>
--
gentoo-commits@lists.gentoo.org mailing list
next reply other threads:[~2008-01-18 0:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-18 0:34 Mike Frysinger (vapier) [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-11-16 17:03 [gentoo-commits] gentoo commit in xml/htdocs/proj/en/base/embedded/handbook: cross-compiling-packages.xml Anthony G. Basile (blueness)
2013-11-16 16:58 Anthony G. Basile (blueness)
2010-08-09 23:37 Mike Frysinger (vapier)
2010-03-04 19:50 Ned Ludd (solar)
2009-12-15 10:41 Mike Frysinger (vapier)
2009-09-23 20:54 Joshua Saddler (nightmorph)
2009-09-14 15:34 Ned Ludd (solar)
2008-05-10 8:53 Mike Frysinger (vapier)
2007-12-29 9:42 Mike Frysinger (vapier)
2007-12-24 20:26 Mike Frysinger (vapier)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1JFfBn-0003sr-8L@stork.gentoo.org \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox