- 论坛徽章:
- 0
|
在netbsd下安装gcc44后出现下面提示:
Package gcc44-4.4.1nb4 registered in /var/db/pkg/gcc44-4.4.1nb4
============================================================
$NetBSD: MESSAGE,v 1.1.1.1 2009/09/18 11:24:50 dmcmahill Exp $
gcc44-4.4.1nb4 has been installed in /usr/pkg/gcc44
To use this compiler in pkgsrc:
1) In your "pre-configure" target:
.include "../../lang/gcc44/preconfigure.mk"
2) .include "../../lang/gcc44/buildlink3.mk"
The "preconfigure.mk" makefile fragment will override the compiler tools
selected by ../../mk/compiler.mk to use gcc version 4.4.x.
但是在找preconfigure.mk、preconfigure.mk、buildlink3.mk、compiler.mk 时却找不到,用/usr/pkg/gcc44/bin/gcc -v命令后出现下面信息:
Using built-in specs.
Target: i386-unknown-netbsdelf5.0.1
Configured with: /work/lang/gcc44/work/gcc-4.4.1/configure --enable-nls --prefix=/usr/pkg/gcc44 --enable-languages='c c++ fortran java objc' --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-long-long --with-local-prefix=/usr/pkg/gcc44 --disable-libssp --enable-threads=posix --with-gmp=/usr/pkg --with-mpfr=/usr/pkg
Thread model: posix
gcc version 4.4.1 (GCC)
这是怎么回事?要怎么解决?? |
|