Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2003 17:58:00 -0800
From:      Paul Hoffman <phoffman@proper.com>
To:        "Petersen" <petersen@fully.qualified.domain.name>
Cc:        <questions@freebsd.org>
Subject:   RE: A vi for /bin?
Message-ID:  <p05210202ba58f08ccec6@[165.227.249.18]>
In-Reply-To:  <KOEDJPGCNAIOODFOCJJIEEAIGDAA.petersen@fully.qualified.domain.name>
References:   <KOEDJPGCNAIOODFOCJJIEEAIGDAA.petersen@fully.qualified.domain.name>

next in thread | previous in thread | raw e-mail | index | archive | help
At 1:36 AM +0000 1/26/03, Petersen wrote:
>Paul Hoffman wrote:
>
>>  I'm kinda surprised this isn't in the FAQ (or at least not in a place
>>  that I could find it). It is really impossible to build a vi with no
>>  external dependencies that can be installed in /bin?
>
>What made you think it was impossible?

The book "FreeBSD" by Anderson (which was highly recommended by some) 
says so on page 371. I'm glad to hear that's wrong.

>Assuming you have the object files from a buildworld hanging around, then
>cd /usr/obj/usr/src/usr.bin/vi
>cc -O -pipe -o vi *.o -lncurses -static && strip vi && mv vi /bin/
>should probably supply you with what you want.

Thanks, I'll try that. (I haven't done a buildworld yet...)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05210202ba58f08ccec6>