CDA SC510 Podręcznik Użytkownika Strona 35

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 34
D2.1.4 IST-033576
We strongly recommend that you configure and build BLCR in a directory
other than the one containing the BLCR source code (use of some options to con-
figure actually require this). In the example above the build is conducted in a sub-
directory, named builddir, of the source directory. Any writable location is fine,
but you will need to invoke configure by the correct path in place of ../configure
used in the example.
Check the FAQ if you run into issues building BLCR on your system.
A.1.2 Choosing an installation directory
By default BLCR will install into /usr/local. To choose a different directory tree
to install into, pass the –prefix flag to configure:
–prefix=[the directory you wish to install into]
However, be aware that using a location other than /usr/local or /usr may re-
quire additions to the PATH, MANPATH and LD_LIBRARY_PATH environment
variables of users (more details below).
A.1.3 Building against a kernel other than the one that’s running
By default, BLCR builds against the kernel that is running on the system at con-
figure time, and looks in a number of standard locations (/usr/src/linux, etc.) for
the above files that correspond to it. If you’re building for a kernel other than
the kernel that is running at the time of the build (or if the source for the running
kernel are in non-standard locations), you’ll need to pass configure the following
option:
–with-linux=[path to the sources for the kernel you are building for]
Unless System.map or vmlinux exists in the directory given to –with-linux
you’ll also need to pass one of the following two options:
–with-system-map=[path to the System.map file] (usually /boot/System.map,
or the System.map file in the root of the kernel build tree)
–with-vmlinux=[path to the kernel executable] (usually /boot/vmlinux, or
the vmlinux file at the root of the kernel build tree)
33/49 XtreemOS–Integrated Project
Przeglądanie stron 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 50 51

Komentarze do niniejszej Instrukcji

Brak uwag