minimike
Berufsrevolutionär
Hi
Ich wollte mir mal NetBSD Current anschauen. Der 6er Brunch soll ja im März mitsammt ZFS erscheinen und die mittlerweile kurze Todoliste ermunterte mich dazu. Auf meiner Spiel VM ist NetBSD 5.1 installiert. Zusätzlich habe ich gcc3 binutils usw. auch installiert. Der Sourcetree habe ich auch schon in /usr/src besorgt und entpackt.
Nur bemeckert er stoisch meinen Compiler. Ich denke mal irgendwas mach ich falsch. Nur was?
export HOST_CC=/usr/pkg/gcc3/bin/gcc
export HOST_CXX=/usr/pkg/gcc3/bin/g++
export HOST_SH=/usr/pkg/bin/bash
Am Ende würde ich ganz gern als Target ein ISO sowie einen Tarball (Destdir und dann packen) haben
Ich wollte mir mal NetBSD Current anschauen. Der 6er Brunch soll ja im März mitsammt ZFS erscheinen und die mittlerweile kurze Todoliste ermunterte mich dazu. Auf meiner Spiel VM ist NetBSD 5.1 installiert. Zusätzlich habe ich gcc3 binutils usw. auch installiert. Der Sourcetree habe ich auch schon in /usr/src besorgt und entpackt.
Nur bemeckert er stoisch meinen Compiler. Ich denke mal irgendwas mach ich falsch. Nur was?
export HOST_CC=/usr/pkg/gcc3/bin/gcc
export HOST_CXX=/usr/pkg/gcc3/bin/g++
export HOST_SH=/usr/pkg/bin/bash
Code:
# ./build.sh tools
===> build.sh command: ./build.sh tools
===> build.sh started: Mon Jan 17 17:29:50 CET 2011
===> NetBSD version: 5.99.43
===> MACHINE: amd64
===> MACHINE_ARCH: x86_64
===> Build platform: NetBSD 5.1 amd64
===> HOST_SH: /usr/pkg/bin/bash
===> No $TOOLDIR/bin/nbmake, needs building.
===> Bootstrapping nbmake
checking for sh... /usr/pkg/bin/bash
checking for gcc... /usr/pkg/gcc3/bin/gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
ERROR: Configure of nbmake failed
*** BUILD ABORTED ***
Code:
# pkg_info
gcc34-3.4.6nb3 This is the gcc 3.4 compiler
gmake-3.82nb1 GNU version of 'make' utility
gawk-3.1.7 GNU awk
m4-1.4.15 GNU version of UNIX m4 macro language processor
bison-2.4.3 GNU yacc(1) replacement
gcc3-c-3.3.6nb1 GNU Compiler Collection, v3 - C compiler
gcc3-c++-3.3.6 GNU Compiler Collection, v3 - C++ compiler
gcc3-objc-3.3.6 GNU Compiler Collection, v3 - Objective C compiler
pcc-current-0.9.9.20100810 Portable C compiler
bash-4.1nb1 The GNU Bourne Again Shell
binutils-2.17nb1 GNU binary utilities
libidn-1.19 Internationalized Domain Names command line tool
wget-1.12nb1 Retrieve files from the 'net via HTTP and FTP