7 Jun 20:35
Clarification of 5.e Embedded Handbook
I'm trying to install a cross compiler on my AMD64 for arm (SheevaPlug) and have been following your Gentoo Embedded Handbook at http://www.gentoo.org/proj/en/base/embedded/handbook/index.xml I do not fully understand Chapter 5 "Cross-Compiling with Portage", specifically the section 5.e on "Helper: pkg-config". The instructions state: vvvvvvvvvvvv Many packages are moving to installing pkg-config files (*.pc) and using those to discover needed libraries and includes. To ease the build process, you should install a pkg-config wrapper for your target which will tell pkg-config to only search your cross-compiler paths rather than your host paths. 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, if your CTARGET is set to arm-linux-uclibc, the canonical name is arm-linux-uclibc-pkg-config. Older configure scripts would only search for pkg-config, so in those cases you will need to export the PKG_CONFIG variable to the wrapper script. ^^^^^^^^^^^^^^ So, I created a file arm-softfloat-linux-gnueabi-pkg-config and placed same under my directory "/usr/arm-softfloat-linux-gnueabi/etc". The contents of the file were copied form the web page, to wit: vvvvvvvvvvvvvvv(Continue reading)
RSS Feed