Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2001 15:29:08 -0600
From:      Bob Willcox <bob@immure.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        hackers list <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Statically linked version of cvs...how to make it?
Message-ID:  <20011113152908.A58402@luke.immure.com>
In-Reply-To: <20011113211646.GA90270@dan.emsphone.com>; from dnelson@allantgroup.com on Tue, Nov 13, 2001 at 03:16:46PM -0600
References:  <20011113145627.B13547@luke.immure.com> <20011113211646.GA90270@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the reply, Dan.  For some reason adding NOSHARED=YES to the
Makefile didn't seem to work.  I wound up explicitly adding:

LDFLAGS+= -static

to the Makefile and that did it. This is strange because from the looks
of it the bsd.prog.mk file should have done this with NOSHARED=YES.

Oh, well, thanks anyway as your reply got me on the track.
Bob

On Tue, Nov 13, 2001 at 03:16:46PM -0600, Dan Nelson wrote:
> In the last episode (Nov 13), Bob Willcox said:
> > I need to build a statically-linked version of cvs so that I can run
> > it in a jail. I was hoping someone out there could describe the steps
> > necessary to build cvs static on 4.4-stable.
> 
> Add "NOSHARED=YES" to the top of /usr/src/gnu/usr.bin/cvs/Makefile ,
> make obj && make depend && make && make install.
> 
> -- 
> 	Dan Nelson
> 	dnelson@allantgroup.com

-- 
Bob Willcox             Boucher's Observation:
bob@vieo.com               He who blows his own horn always plays the music
Austin, TX                 several octaves higher than originally written.

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




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