From owner-freebsd-current Mon Aug 25 14:52:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA13063 for current-outgoing; Mon, 25 Aug 1997 14:52:00 -0700 (PDT) Received: from sumatra.americantv.com (sumatra.americantv.com [207.170.17.37]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA13057 for ; Mon, 25 Aug 1997 14:51:57 -0700 (PDT) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id RAA05082; Mon, 25 Aug 1997 17:13:48 -0500 (CDT) Received: (jlemon@localhost) by right.PCS (8.6.13/8.6.4) id QAA23315; Mon, 25 Aug 1997 16:53:18 -0500 Message-ID: <19970825165317.23381@right.PCS> Date: Mon, 25 Aug 1997 16:53:17 -0500 From: Jonathan Lemon To: Joerg Wunsch Cc: freebsd-current@FreeBSD.ORG Subject: Re: Build failure: DOSCMD uses -Bstatic -lX11 References: <199708230948.CAA06849@palrel1.hp.com> <19970823160411.14726@right.PCS> <19970824005920.HA61511@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61.1 In-Reply-To: <19970824005920.HA61511@uriah.heep.sax.de>; from J Wunsch on Aug 08, 1997 at 12:59:20AM +0200 Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Aug 08, 1997 at 12:59:20AM +0200, J Wunsch wrote: > As Jonathan Lemon wrote: > > > It doesn't require X11 to be built, per se. However, X11 support is a > > compile-time option, so I tried to get smart, and automatically compile > > in X11 support if ${X11BASE} was present. The other option would be > > to always compile it without X, which I dislike. > > Why do you compile it static at all? Because the doscmd program needs to run above the 1M boundary. Think of it as a userland kernel. :-) This means that I can't (AFAIK) simply use the ld.so routines in crt0.o, and compiling static was easier than writing a custom crt0. -- Jonathan