Actually, X has relatively modest demands on LibC, at least if you don't
want to run threaded applications (most are not threaded). It has had
to be quite conservative to run cross platform all these years.
I wouldn't be at all surprised you could build quite easily, if you turn
off building for threads in Xlib. The X server itself is not threaded
at all.
And most apps will run fine, though a few of the most modern apps would
have trouble.
TinyX is also "good stuff" for small footprints. On ARM, I build
a server that is about .5 megabytes, or about .7 megabytes when I also
want the Render extension, and some other goodies that carry their weight.
I'm just beginning to do serious surgery on Xlib to see if we can get
it dieted down to something close to what it once was; I removed the
gratuitous Xt/Xaw/Xmu dependencies last spring that wasted a couple
megabytes if you don't need antique toolkits.
- Jim
--
Jim Gettys
Cambridge Research Laboratory
Compaq Computer Corporation
[EMAIL PROTECTED]
> Sender: [EMAIL PROTECTED]
> From: Abraham vd Merwe <[EMAIL PROTECTED]>
> Date: Thu, 31 Jan 2002 17:45:02 +0200
> To: Sandy Harris <[EMAIL PROTECTED]>
> Cc: XFree86 General X Discussion <[EMAIL PROTECTED]>
> Subject: Re: [Xpert]help: How to make XFree86 smaller?
> -----
> Hi Sandy!
>
> > > I am building my own Linux distribution and I need your he...
> > > My environment is :
> > > Kernel 2.4.12
> > > Gcc 3.0.1
> > > XFree4.1.0
> > >
> > > The problem is the size of the X server is too large to meet what I need.
> > > The compile options I used: -Os -march=i386 -mcpu=i686
> > >
> > > How can I build it with smaller size? Thanks.
> >
> > Have a look at Diet LibC:
> > http://www.fefe.de/dietlibc/
> >
> > I know various people use this for small/embedded/firewal/...
> > distributions. I do not know if it has everything you need
> > to compile X. If you find out, please post.
>
> Hehe. Good luck getting X to work with dietlibc (; It would be quite an
> accomplishment.
>
> An easier way would be to use Tiny X...
>
> --
>
> Regards
> Abraham
>
> A prisoner of war is a man who tries to kill you and fails, and then
> asks you not to kill him.
> -- Sir Winston Churchill, 1952
>
> __________________________________________________________
> Abraham vd Merwe - 2d3D, Inc.
>
> Device Driver Development, Outsourcing, Embedded Systems
>
> Cell: +27 82 565 4451 Snailmail:
> Tel: +27 21 761 7549 Block C, Antree Park
> Fax: +27 21 761 7648 Doncaster Road
> Email: [EMAIL PROTECTED] Kenilworth, 7700
> Http: http://www.2d3d.com South Africa
>
>
> Enclosed component: application/pgp-signature (<1 KBytes)
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert