From owner-freebsd-hackers Tue Nov 13 13:29:12 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from luke.immure.com (luke.immure.com [207.8.42.74]) by hub.freebsd.org (Postfix) with ESMTP id 0C9C637B41A for ; Tue, 13 Nov 2001 13:29:10 -0800 (PST) Received: (from bob@localhost) by luke.immure.com (8.11.6/8.11.6) id fADLT8X60404; Tue, 13 Nov 2001 15:29:08 -0600 (CST) (envelope-from bob) Date: Tue, 13 Nov 2001 15:29:08 -0600 From: Bob Willcox To: Dan Nelson Cc: hackers list Subject: Re: Statically linked version of cvs...how to make it? Message-ID: <20011113152908.A58402@luke.immure.com> Reply-To: Bob Willcox References: <20011113145627.B13547@luke.immure.com> <20011113211646.GA90270@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011113211646.GA90270@dan.emsphone.com>; from dnelson@allantgroup.com on Tue, Nov 13, 2001 at 03:16:46PM -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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