make LDFLAGS="-static" #静态编译 ./configure --disable-nls #禁止对国际化支持 gcc优化及特定编译安装示例: #!/bin/sh CFLAGS="-O2 -mcpu=i386 -march=i386 -pipe -fomit-frame-pointer" CXXFLAGS="-O2 -mcpu=i386 -march=i386 -pipe -fomit-frame-pointer" PKG_ROOT=/mnt PKG_DIR=pkgname export CFLAGS CXXFLAGS ./configure --prefix=/$PKG_DIR --sysconfdir=/$PKG_DIR/etc make make ...
The configure and build process has a long and colorful history, and can be confusing to anyone who doesn't know why things are the way they are. While there are other documents which describe the configuration process in detail, here are a few things that everyone working on GCC should know. There are three system names that the build knows about: the machine you are building on (build), the m...
在x386电脑上装个gcc configure写几个常用的参数,prefix、language,threads就可以make了,好像在mips电脑上这样做不行。 昨晚make了一次,提示no space for Got entries,要怎么搞才可以呢?
在RPM安装MYSQL时 ./configure 时出错提示 .... configure: error: no acceptable C compiler found in $PATH 思考: 按照提示,我们少了一个C的套件,或者是我的C套件提供的命令没有被包含到$PATH中来 过程: rpm -qa|grep 'c*' 没有,开始安装 [root@linux RPMS]# rpm -ivh gcc-3.3.2-1.i386.rpm warning: gcc-3.3.2-1.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2 error: Failed dependencies: binutils >= 2.1...