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 

Its correct to add followin lines to
.include "../../lang/gcc45/"
.include "../../lang/gcc45/"

Please i need any little Help.

# witch gcc

# gcc -v
Using built-in specs.
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 
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 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/"

   2) .include "../../lang/gcc45/"

The "" makefile fragment will override the compiler tools
selected by ../../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/

#       The compiler and version being used, e.g.,

        +       .include "../../lang/gcc45/"
        +      .include "../../lang/gcc45/"

#       .include "../../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/" line 73: Unassociated shell command 
".include "../../lang/gcc45/""
make: "../../mk/../../mk/" line 74: Unassociated shell command 
".include "../../lang/gcc45/""
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:

Home | Main Index | Thread Index | Old Index