如何检查configure支持哪些feature?
运行configure时,很多时候需要加上一些特定的参数,比如--disable-FEATURE(FEATURE是特定与当前编译的程序的),问题是如何知道要编译的程序支持哪些FEATURE? 如果我自己写一个程序,怎样配置才能支持一些FEATURE呢? ./configure --help 可以么?在gcc里面运行./configure --help,输出下面结果,所有支持的feature都列出来了么?
至少那些CPU特定的参数就没有吧
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG]include FEATURE
--enable-gold use gold instead of ld
--enable-libada build libada directory
--enable-libssp build libssp directory
--disable-ppl-version-check disable check for PPL version
--disable-cloog-version-checkdisable check for CLooG version
--enable-stage1-languages[=all] choose additional languages to build during
stage1.Mostly useful for compiler development.
--enable-objc-gc enable use of Boehm's garbage collector with the
GNU Objective-C runtime
--enable-bootstrap enable bootstrapping
--enable-serial-[{host,target,build}-]configure
force sequential configuration of
sub-packages for the host, target or build
machine, or all sub-packages
--enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer
--enable-stage1-checking[=all] choose additional checking for stage1
of the compiler
--enable-werror enable -Werror in bootstrap stage2 and later
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-build-libsubdir=DIRDirectory where to find libraries for build system
--with-mpfr-dir=PATH this option has been REMOVED
--with-mpfr=PATH specify prefix directory for installed MPFR package. Optional Features: 下面的这些,就是所支持的 FEATURE 啊。
页:
[1]