Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 1997 16:53:17 -0500
From:      Jonathan Lemon <jlemon@americantv.com>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Build failure: DOSCMD uses -Bstatic -lX11
Message-ID:  <19970825165317.23381@right.PCS>
In-Reply-To: <19970824005920.HA61511@uriah.heep.sax.de>; from J Wunsch on Aug 08, 1997 at 12:59:20AM %2B0200
References:  <199708230948.CAA06849@palrel1.hp.com> <19970823160411.14726@right.PCS> <19970824005920.HA61511@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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