On 2003-01-25 19:22, Paul Hoffman <[EMAIL PROTECTED]> wrote:
> At 1:36 AM +0000 1/26/03, Petersen wrote:
> >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.
> Two modifications made this work fine:
> - I hadn't done a buildworld, but doing the following got the same result:
>    cd /usr/src/usr.bin/vi
>    make && cc -O -pipe -o vi *.o -lncurses -static && strip vi && mv vi /bin

A quicker way to do the same could be:

        # make NOSHARED=yes all
        # install -m 0755 -o root -g wheel vi /bin

I like NOSHARED too much to resist following up :)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to