[root@test mysql-4.1.10]# CFLAGS="-static -O2 march=i686
-funroll-loops" CXXFLAGS="-static -O2 -march=i686 -funroll-loops
-felide-constructors -fno-exceptions -fno-rtti" ./configure
--prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data
--disable-shared --enable-assembler --with-thread-safe-client
--with-mysqld-user="mysql" --with-client-ldflags=-all-static
--with-mysqld-ldflags=-all-static --with-readline --without-debug
--without-docs --without-bench --with-charset=euckr
하고 엔터를 치면,,
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output file name... configure:
error: C compiler cannot create executables
See `config.log' for more details.
위와 같은 에러 메세지가
나오네요....
gcc 문제인지....그렇다면 gcc 업뎃을 어케
해야하는지 고수님 답변 부탁드릴께요...
참고로 gcc 버전은...
[root@test mysql-4.1.10]# gcc -v
Reading specs from
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
PS: 삽질중이라 이렇게 긁어서 글을 지저분하게 올립니다...^
^;;;
|