linux交叉编译mesa,Linux下SDL的交叉编译

在shell下输入# ./configure –help 可以查看配置参数

[root@localhostSDL-1.2.14]# ./configure --help

`configure' configures this package to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as

VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:

-h, --help              display this help and exit

--help=short        display options specific to this package

--help=recursive    display the short help of all the included packages

-V, --version           display version information and exit

-q, --quiet, --silent   do not print `checking...' messages

--cache-file=FILE   cache test results in FILE [disabled]

-C, --config-cache      alias for `--cache-file=config.cache'

-n, --no-create         do not create output files

--srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:

--prefix=PREFIX         install architecture-independent files in PREFIX

[/usr/local]

--exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX

[PREFIX]

By default, `make install' will install all the files in

`/usr/local/bin', `/usr/local/lib' etc.  You can specify

an installation prefix other than `/usr/local' using `--prefix',

for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:

--bindir=DIR            user executables [EPREFIX/bin]

--sbindir=DIR           system admin executables [EPREFIX/sbin]

--libexecdir=DIR        program executables [EPREFIX/libexec]

--sysconfdir=DIR        read-only single-machine data [PREFIX/etc]

--sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]

--localstatedir=DIR     modifiable single-machine data [PREFIX/var]

--libdir=DIR            object code libraries [EPREFIX/lib]

--includedir=DIR        C header files [PREFIX/include]

--oldincludedir=DIR     C header files for non-gcc [/usr/include]

--datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]

--datadir=DIR           read-only architecture-independent data [DATAROOTDIR]

--infodir=DIR           info documentation [DATAROOTDIR/info]

--localedir=DIR         locale-dependent data [DATAROOTDIR/locale]

--mandir=DIR            man documentation [DATAROOTDIR/man]

--docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]

--htmldir=DIR           html documentation [DOCDIR]

--dvidir=DIR            dvi documentation [DOCDIR]

--pdfdir=DIR            pdf documentation [DOCDIR]

--psdir=DIR             ps documentation [DOCDIR]

X features:

--x-includes=DIR    X include files are in DIR

--x-libraries=DIR   X library files are in DIR

System types:

--build=BUILD     configure for building on BUILD [guessed]

--host=HOST       cross-compile to build programs to run on HOST [BUILD]

Optional Features:

--disable-option-checking  ignore unrecognized --enable/--with options

--disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)

--enable-FEATURE[=ARG]  include FEATURE [ARG=yes]

--enable-shared[=PKGS]  build shared libraries [default=yes]

--enable-static[=PKGS]  build static libraries [default=yes]

--enable-fast-install[=PKGS]

optimize for fast installation [default=yes]

--disable-libtool-lock  avoid locking (might break parallel builds)

--enable-libc           Use the system C library [default=yes]

--enable-audio          Enable the audio subsystem [default=yes]

--enable-video          Enable the video subsystem [default=yes]

--enable-events         Enable the events subsystem [default=yes]

--enable-joystick       Enable the joystick subsystem [default=yes]

--enable-cdrom          Enable the cdrom subsystem [default=yes]

--enable-threads        Enable the threading subsystem [default=yes]

--enable-timers         Enable the timer subsystem [default=yes]

--enable-file           Enable the file subsystem [default=yes]

--enable-loadso         Enable the shared object loading subsystem

[default=yes]

--enable-cpuinfo        Enable the cpuinfo subsystem [default=yes]

--enable-assembly       Enable assembly routines [default=yes]

--enable-oss            support the OSS audio API [default=yes]

--enable-alsa           support the ALSA audio API [default=yes]

--disable-alsatest      Do not try to compile and run a test Alsa program

--enable-alsa-shared    dynamically load ALSA audio support [default=yes]

--enable-esd            support the Enlightened Sound Daemon [default=yes]

--disable-esdtest       Do not try to compile and run a test ESD program

--enable-esd-shared     dynamically load ESD audio support [default=yes]

--enable-pulseaudio     use PulseAudio [default=yes]

--enable-pulseaudio-shared

dynamically load PulseAudio support [default=yes]

--enable-arts           support the Analog Real Time Synthesizer

[default=yes]

--enable-arts-shared    dynamically load aRts audio support [default=yes]

--enable-nas            support the NAS audio API [default=yes]

--enable-nas-shared     dynamically load NAS audio support [default=yes]

--enable-diskaudio      support the disk writer audio driver [default=yes]

--enable-dummyaudio     support the dummy audio driver [default=yes]

--enable-mintaudio      support Atari audio driver [default=yes]

--enable-nasm           use nasm assembly blitters on x86 [default=yes]

--enable-altivec        use altivec assembly blitters on PPC [default=yes]

--enable-ipod           configure SDL to work with iPodLinux [default=no]

--enable-video-nanox    use nanox video driver [default=no]

--enable-nanox-debug    print debug messages [default=no]

--enable-nanox-share-memory

use share memory [default=no]

--enable-nanox-direct-fb

use direct framebuffer access [default=no]

--enable-video-x11      use X11 video driver [default=yes]

--enable-x11-shared     dynamically load X11 support [default=maybe]

--enable-dga            allow use of X11 DGA code [default=yes]

--enable-video-dga      use DGA 2.0 video driver [default=yes]

--enable-video-x11-dgamouse

use X11 DGA for mouse events [default=yes]

--enable-video-x11-vm   use X11 VM extension for fullscreen [default=yes]

--enable-video-x11-xv   use X11 XvImage extension for video [default=yes]

--enable-video-x11-xinerama

enable X11 Xinerama support [default=yes]

--enable-video-x11-xme  enable Xi Graphics XME for fullscreen

[default=yes]

--enable-video-x11-xrandr

enable X11 Xrandr extension for fullscreen

[default=yes]

--enable-video-photon   use QNX Photon video driver [default=yes]

--enable-video-carbon   use Carbon/QuickDraw video driver [default=no]

--enable-video-cocoa    use Cocoa/Quartz video driver [default=yes]

--enable-video-fbcon    use framebuffer console video driver [default=yes]

--enable-video-directfb use DirectFB video driver [default=yes]

--enable-video-ps2gs    use PlayStation 2 GS video driver [default=yes]

--enable-video-ps3      use PlayStation 3 Cell driver [default=yes]

--enable-video-ggi      use GGI video driver [default=no]

--enable-video-svga     use SVGAlib video driver [default=yes]

--enable-video-vgl      use VGL video driver [default=yes]

--enable-video-wscons   use wscons video driver [default=yes]

--enable-video-aalib    use AAlib video driver [default=no]

--enable-video-caca     use libcaca video driver [default=no]

--enable-video-qtopia   use Qtopia video driver [default=no]

--enable-video-picogui  use PicoGUI video driver [default=no]

--enable-video-xbios    use Atari Xbios video driver [default=yes]

--enable-video-gem      use Atari Gem video driver [default=yes]

--enable-video-dummy    use dummy video driver [default=yes]

--enable-video-opengl   include OpenGL context creation [default=yes]

--enable-osmesa-shared  dynamically load OSMesa OpenGL support

[default=yes]

--enable-screensaver    enable screensaver by default while any SDL

application is running [default=no]

--enable-input-events   use Linux 2.4 unified input interface

[default=yes]

--enable-input-tslib    use the Touchscreen library for input

[default=yes]

--enable-pth            use GNU pth library for multi-threading

[default=yes]

--enable-pthreads       use POSIX threads for multi-threading

[default=yes]

--enable-pthread-sem    use pthread semaphores [default=yes]

--enable-stdio-redirect Redirect STDIO to files on Win32 [default=yes]

--enable-directx        use DirectX for Win32 audio/video [default=yes]

--enable-sdl-dlopen     use dlopen for shared object loading [default=yes]

--enable-atari-ldg      use Atari LDG for shared object loading

[default=yes]

--enable-clock_gettime  use clock_gettime() instead of gettimeofday() on

UNIX [default=no]

--enable-rpath          use an rpath when linking SDL [default=yes]

Optional Packages:

--with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]

--without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)

--with-pic              try to use only PIC/non-PIC objects [default=use

both]

--with-gnu-ld           assume the C compiler uses GNU ld [default=no]

--with-alsa-prefix=PFX  Prefix where Alsa library is installed(optional)

--with-alsa-inc-prefix=PFX  Prefix where include libraries are (optional)

--with-esd-prefix=PFX   Prefix where ESD is installed (optional)

--with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)

--with-x                use the X Window System

Some influential environment variables:

CC          C compiler command

CFLAGS      C compiler flags

LDFLAGS     linker flags, e.g. -L if you have libraries in a

nonstandard directory

LIBS        libraries to pass to the linker, e.g. -l

CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I if

you have headers in a nonstandard directory

CPP         C preprocessor

CXX         C++ compiler command

CXXFLAGS    C++ compiler flags

CXXCPP      C++ preprocessor

XMKMF       Path to xmkmf, Makefile generator for X Window System

Use these variables to override the choices made by `configure' or to help

it to find libraries and programs with nonstandard names/locations.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值