I have a gcc compiler v 4.2.2 with next build options :
我有一个gcc编译器v4.2.2和下一个构建选项:
$ /opt/eldk-4.2/usr/bin/ppc_6xx-gcc -v
Reading specs from /home/dejovivl/workspace/eldk-4.2/usr/bin/../lib/gcc/powerpc-linux/4.2.2/specs
Target: powerpc-linux
Configured with: /opt/eldk/build/ppc-2008-04-01/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux/gcc-4.2.2/configure --target=powerpc-linux --host=i686-host_pc-linux-gnu --prefix=/var/tmp/eldk.UZpAG7/usr/crosstool/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux --disable-hosted-libstdcxx --with-headers=/var/tmp/eldk.UZpAG7/usr/crosstool/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux/powerpc-linux/include --with-local-prefix=/var/tmp/eldk.UZpAG7/usr/crosstool/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux/powerpc-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c,c++,java --enable-shared --enable-c99 --enable-long-long --without-x
Thread model: posix
gcc version 4.2.2
Most options are easy to find, except for --without-x
. So, what is this option for?
大多数选择都很容易找到,除了——没有x。那么,这个选项是什么呢?
The summary of gcc options didn't help, since the option is not listed.
对gcc选项的总结没有帮助,因为选项没有列出。
1 个解决方案
#1
2
Configure options are not options to gcc
. They are given when gcc is built to the configure script. To find out what they mean, check the gcc source documentation.
配置选项不是gcc的选项。当gcc被构建到configure脚本时,就会给出它们。要了解它们的意思,请查看gcc源代码文档。
If --with-x
is not there, it doesn't have to mean anything, as autoconf-generated configure scripts can ignore flags.
如果-x不存在,它不需要任何意义,因为autoconf生成的配置脚本可以忽略标志。
However, it is listed on http://gcc.gnu.org/install/configure.html -
但是,它是在http://gcc.gnu.org/install/configure.html中列出的。
--with-x
——与x
Use the X Window System.
使用X窗口系统。
#1
2
Configure options are not options to gcc
. They are given when gcc is built to the configure script. To find out what they mean, check the gcc source documentation.
配置选项不是gcc的选项。当gcc被构建到configure脚本时,就会给出它们。要了解它们的意思,请查看gcc源代码文档。
If --with-x
is not there, it doesn't have to mean anything, as autoconf-generated configure scripts can ignore flags.
如果-x不存在,它不需要任何意义,因为autoconf生成的配置脚本可以忽略标志。
However, it is listed on http://gcc.gnu.org/install/configure.html -
但是,它是在http://gcc.gnu.org/install/configure.html中列出的。
--with-x
——与x
Use the X Window System.
使用X窗口系统。