|
|
发表于 2007-7-25 09:41:38
|
显示全部楼层
对于 gcc 安装文档中,我觉得一下两个参数对并行安装有帮助。--program-suffix=suffix
Appends suffix to the names of programs to install in bindir (see above). For example, specifying --program-suffix=-3.1 would result in `gcc' being installed as /usr/local/bin/gcc-3.1.
--enable-version-specific-runtime-libs
Specify that runtime libraries should be installed in the compiler specific subdirectory (libdir/gcc) rather than the usual places. In addition, `libstdc++''s include files will be installed into libdir unless you overruled it by using --with-gxx-include-dir=dirname. Using this option is particularly useful if you intend to use several versions of GCC in parallel. This is currently supported by `libgfortran', `libjava', `libmudflap', `libstdc++', and `libobjc'. 但我认为安装系统默认 gcc 时还是采用覆盖的方式最保险  |
|