[FE training-materials-updates] Revert "App dev lab: instruct to set pkg-config variables"

Michael Opdenacker michael.opdenacker at free-electrons.com
Fri Mar 28 12:27:56 CET 2014

Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=b3da7d5f26a068594e908805da95c56edd4f38ea


commit b3da7d5f26a068594e908805da95c56edd4f38ea
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Fri Mar 28 12:26:29 2014 +0100

    Revert "App dev lab: instruct to set pkg-config variables"
    This reverts commit fb05076fb7684056645243242a62946309d723ee.


 .../sysdev-application-development.tex             |   12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/labs/sysdev-application-development/sysdev-application-development.tex b/labs/sysdev-application-development/sysdev-application-development.tex
index 2ddf8ba..48d962c 100644
--- a/labs/sysdev-application-development/sysdev-application-development.tex
+++ b/labs/sysdev-application-development/sysdev-application-development.tex
@@ -49,7 +49,7 @@ It complains that it cannot find the directfb.h header. This is
 normal, since we didn't tell the compiler where to find it. So let's
 use \code{pkg-config} to query the {\em pkg-config} database about the
 location of the header files and the list of libraries needed to build
-an application against DirectFB.
+an application against DirectFB:
@@ -57,15 +57,7 @@ arm-linux-gcc -o app app.c $(pkg-config --libs --cflags directfb)
-This will complain that it cannot find the \code{pkg-config} files. It's
-because we didn't set the \code{PKG_CONFIG_SYSROOT_DIR} and
-\code{PKG_CONFIG_PATH} environment variables to specify where the
-\code{pkg-config} database is. So find the location of the \code{directfb.pc} 
-file and specify the above two variables accordingly.
-Run the compiler command again.
-Our application should now be compiled! Copy the generated binary and the
+Our application is now compiled! Copy the generated binary and the
 \code{background.png} image to the NFS root filesystem (in the
 \code{root/} directory for example), start your system, and run your

More information about the training-materials-updates mailing list