NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: question; how to build individual userland programs on NetBSD 7-RC3 ?
On Tue, Sep 15, 2015 at 09:31:29PM -0700, r.liegh wrote:
> Hello
>
> I have been away from BSD for a while, I've played around with installing different flavors as a guest under KVM. I downloaded both the source and binary (amd64) copies of 7.0-RC3 and installed it in a virtual machine.
>
> I tried compiling programs under /usr/src (after unpacking the source files, of course) for the sake of kicking the tires, but didn't have a lot of luck. Trying to compile /usr/src/usr.bin/tr resulted in this:
> ===
> beasty# cd ~
> beasty# pwd
> /root
> beasty# cd /usr/src/usr.bin/tr
> beasty# make
> # compile tr/str.o
> /usr/src/tooldir.NetBSD-7.0_RC3-amd64/bin/x86_64--netbsd-gcc -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror --sysroot=/ -c str.c
> sh: /usr/src/tooldir.NetBSD-7.0_RC3-amd64/bin/x86_64--netbsd-gcc: not found
> *** Error code 127
make USETOOLS=never
should work
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index