X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=INSTALL;h=66d9355fced5b9db208e9870653f5fc673c600e2;hb=6fa20f2f419eac61340d9b93d5cdde01c281c9ec;hp=15f356a9451d361a3e6cdfb759018374c451b5fb;hpb=77e2017715a58c01d3e63ad90fb28b5e39eb2a31;p=pspp diff --git a/INSTALL b/INSTALL index 15f356a945..66d9355fce 100644 --- a/INSTALL +++ b/INSTALL @@ -225,10 +225,18 @@ is an example: ./configure CC=c89 CFLAGS=-O0 LIBS=-lposix +Cross Compiling +=============== + To cross-compile PSPP, you will likely need to set the PKG_CONFIG_LIBDIR environment variable to point to an appropriate pkg-config for the cross-compilation environment. +Part of cross-compiling procedure builds a native binary. Therefore, you +will need not only the dependent libraries for your target, but also for the +build machine. This is because the native version is used to create +examples for the user manual. + See "Defining Variables", below, for more details. Installation Names