|
我是第一次安装,没有什么经验。
在文档中:
“
前我们不需要C++编译器,所以我们这里只解压 gcc-core 包。
如果你把这个包缺省的优化参数(包括 -march 和 -mcpu参数)改变的话,它会有很不良的表现。最好不要优化这个包。因此,如果你定义了任何优化参数的话,比如CFLAGS 和 CXXFLAGS,我们劝你在编译GCC时unset或修改它们。
patch -Np1 -i ../gcc-3.2.3-mmap_test.patch
patch -Np1 -i ../gcc-3.2.3-no_fixincludes.patch
”
我在lfs-packages-cvs-20030603.tar中没有找到 gcc-core包。
运行:patch -Np1 -i ../gcc-3.2.3-mmap_test.patch
出了:
-bash-2.05b$ patch -Np1 -i ../gcc-3.2.3-mmap_test.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uNr gcc-3.2.2.orig/gcc/configure gcc-3.2.2/gcc/configure
|--- gcc-3.2.2.orig/gcc/configure 2003-02-04 11:17:46.000000000 +1100
|+++ gcc-3.2.2/gcc/configure 2003-03-16 20:10:03.000000000 +1100
--------------------------
File to patch:
这是怎么回事? |
|