Re: [XFree86] Compiling XFree with BuildLowMem

2003-06-11 Thread David Dawes
On Tue, Jun 10, 2003 at 11:24:50AM +1200, Miles Roper wrote:
Hi,

I'm trying to compile XFree86 4.3.0.1 with

#define BuildLowMem = YES

as it seems to be a option for low memory machines.  I'm trying to reduce
memory consumption of XFree for a thinclient solution.

When compiling the following error occurs

+ ln -s ../../../../programs/xmh/box6 .
make[4]: *** No rule to make target `../cfb/cfb8cppl.c', needed by
`cfb8cppl.c'.  Stop.
make[3]: *** [includes] Error 2
make[2]: *** [includes] Error 2
make[1]: *** [includes] Error 2

seems to be a problem with 

xfree86-4.30/xc/programs/Xserver/lmfcfb'

Ideas?

This is an option that was added to an X Consortium release some time
ago.  At best it's in need of being reworked, but given our move away
from cfb, it probably isn't useful anymore, at least not for the XFree86
server.

Aside from building smaller versions of mfb and cfb (which XFree86 only
rarely uses), it also disables scalable font backends.  You can achieve
the same thing for the XFree86 server by simply not loading those font
modules.

Minimising the footprint of the XFree86 server for certain classes of
applications would be an interesting project.  Progress in that direction
could be made by carefully modularising some of the built-in code (and
drivers?).  For your specific application, a good start would be to do
some analysis and find out where most of the memory is being eaten up.
It might not be what you expect.

David
-- 
David Dawes
Founder/committer/developer The XFree86 Project
www.XFree86.org/~dawes
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Compiling XFree with BuildLowMem

2003-06-09 Thread Miles Roper
Hi,

I'm trying to compile XFree86 4.3.0.1 with

#define BuildLowMem = YES

as it seems to be a option for low memory machines.  I'm trying to reduce
memory consumption of XFree for a thinclient solution.

When compiling the following error occurs

+ ln -s ../../../../programs/xmh/box6 .
make[4]: *** No rule to make target `../cfb/cfb8cppl.c', needed by
`cfb8cppl.c'.  Stop.
make[3]: *** [includes] Error 2
make[2]: *** [includes] Error 2
make[1]: *** [includes] Error 2

seems to be a problem with 

xfree86-4.30/xc/programs/Xserver/lmfcfb'

Ideas?

Cheers

Miles
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86