NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
GCC 4.5.3
Hello Together
Now GCC 4.5.3 it's installed and the Path are added but the last step i don't
see.
Its correct to add followin lines to compile.mk
.include "../../lang/gcc45/preconfigure.mk"
.include "../../lang/gcc45/buildlink3.mk"
Please i need any little Help.
Thanks
mauri
# witch gcc
/usr/pkg/gcc45/bin/gcc
# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/pkg/gcc45/libexec/gcc/sparc64-unknown-netbsd5.1/4.5.3/lto-wrapper
Target: sparc64-unknown-netbsd5.1
Configured with: /usr/pkgsrc/lang/gcc45/work/gcc-4.5.3/configure --enable-nls
--prefix=/usr/pkg/gcc45 --enable-languages='c c++ fortran objc'
--with-system-zlib --enable-shared --enable-__cxa_atexit --enable-long-long
--with-local-prefix=/usr/pkg/gcc45 --enable-libssp --enable-threads=posix
--with-gmp=/usr/pkg --with-mpfr=/usr/pkg --with-ld=/usr/pkg/bin/gnu-ld
--with-libelf=/usr/pkg
Thread model: posix
gcc version 4.5.3 (GCC)
the finish install from GCC are explane this message:
===> Install binary package of gcc45-4.5.3
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2011/05/14 20:19:46 wiz Exp $
gcc45-4.5.3 has been installed in /usr/pkg/gcc45
To use this compiler in pkgsrc:
1) In your "pre-configure" target:
.include "../../lang/gcc45/preconfigure.mk"
2) .include "../../lang/gcc45/buildlink3.mk"
The "preconfigure.mk" makefile fragment will override the compiler tools
selected by ../../mk/compiler.mk to use gcc version 4.5.x.
===========================================================================
i wasn't shure if i need to add this two following, in file.
vi /usr/pkgsrc/mk/compiler.mk
# CC_VERSION
# The compiler and version being used, e.g.,
+ .include "../../lang/gcc45/preconfigure.mk"
+ .include "../../lang/gcc45/buildlink3.mk"
#
# .include "../../mk/compiler.mk"
#
# .if !empty(CC_VERSION:Mgcc-3*)
# ...
# .endif
#
if try to make any package under pkgsrc tree i have followin error.
# make
make: "../../mk/../../mk/compiler.mk" line 73: Unassociated shell command
".include "../../lang/gcc45/preconfigure.mk""
make: "../../mk/../../mk/compiler.mk" line 74: Unassociated shell command
".include "../../lang/gcc45/buildlink3.mk""
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/pkgsrc/net/rdesktop
--
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone
Home |
Main Index |
Thread Index |
Old Index