nanogui: Pending patches/bug/requests ... list available on the FTP
Subject:
Re: Pending patches/bug/requests ... list available on the FTP
From:
"Aaron J. Grier" ####@####.####
Date:
8 Jun 2005 20:21:09 +0100
Message-Id: <20050608192037.GR28545@mordor.unix.fryenet>
On Tue, Jun 07, 2005 at 05:27:49PM -0600, Greg Haerr wrote:
> : What I propose is not to necessarily
> : remove per-driver defines, but rather to have the driver table
> : generated at compile time depending of what drivers did the user
> : actually include in the build.
>
> Is this in order to keep the executable file size down?
>
> If so, far easier is just to do this the same way everything else is
> done in Microwindows - set a config option, and then the options are
> included using the existing make system's method of creating a cc -D
> option that is picked up using #if in the source code. Why do the
> drivers differently than everything else?
or... continue to compile everything, but in your specific driver
startup function, don't call any functions in fb.c -- call them
directly. let the linker figure out what symbols aren't being
referenced.
this only covers the staticly linked case, but it seems more common for
static link to be more memory tight than dynamic linking.
--
Aaron J. Grier | Frye Electronics, Tigard, OR | ####@####.####