Hi all,
I m building kdrive/Xfbdev,Xipaq (XFree86-4.3.99.14) server. I just amaze why its size 
is so big(Xfbdev-3.2MB, Xipaq-3.3MB)... when it is supposed to be light-weight.

here are my host.def and cross.def file.
________________________________________________________
                host.def
                ********
#define KDriveXServer YES

#define XiPAQH3500Server YES

#define KdriveServerExtraDefines -DITSY -DMAXSCREENS=2

#define TinyXServer                YES

#define CrossCompiling            YES

#define TouchScreen                YES

#define ItsyCompilerBug            YES

#undef  BuildRandR

#define BuildRandR                YES

#define BuildXInputLib            YES

#define ProjectRoot                /usr/X11R6

#define EtcX11Directory            ProjectRoot/etc

#define Freetype2Dir              $(TOP)/extras/freetype2

#define Freetype2LibDir            $(TOP)/exports/lib

#define BuildXTrueType            YES

#define BuildScreenSaverExt        YES

#define BuildScreenSaverLibrary    YES

#define SharedLibXss              YES

#define ServerXdmcpDefines

#define XfbdevServer              YES

#define XipaqServer                YES

#define HasLibpng             NO

________________________________________________________


________________________________________________________
                cross.def
                *********
#undef i386Architecture

#define Arm32Architecture

#undef OptimizedCDebugFlags

#define OptimizedCDebugFlags    -O2 -g

#define ServerCDebugFlags      -O2 -g

#undef StandardDefines

#define StandardDefines -Dlinux -D__arm__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE 
-DX_LOCALE

#define StdIncDir /opt/host/armv4l/armv4l-unknown-linux/include

#define PreIncDir

#undef PostIncDir

#define PostIncDir /opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/include

#undef CcCmd

#define CcCmd /opt/host/armv4l/bin/armv4l-unknown-linux-gcc -pipe

#define DoRanlibCmd YES

#define RanlibCmd      /opt/host/armv4l/bin/armv4l-unknown-linux-ranlib

#define HasCplusplus YES

#undef CplusplusCmd

#define CplusplusCmd /opt/host/armv4l/bin/armv4l-unknown-linux-g++ -pipe

#undef ExtraLoadFlags

#define ExtraLoadFlags

#define FbNoPixelAddrCode

#undef TermcapLibrary

#define TermcapLibrary -ltermcap

#undef LdPostLib

#define LdPostLib      -L /opt/host/armv4l/lib

#undef ExtensionOSDefines

#define ExtensionOSDefines

#define ServerXdmcpDefines      /**/

#define ModuleArCmd      /opt/host/armv4l/bin/armv4l-unknown-linux-ar

#define ModuleAsCmd     /opt/host/armv4l/bin/armv4l-unknown-linux-as

#define ModuleLdCmd      /opt/host/armv4l/bin/armv4l-unknown-linux-ld

#define LdCmd           /opt/host/armv4l/bin/armv4l-unknown-linux-ld

#define CppCmd           /opt/host/armv4l/bin/armv4l-unknown-linux-cpp

#include "cross.rules"

________________________________________________________
Can anybody suggest me where am i missing(overdoing) something?

Regards,
Jassi 

Reply via email to