Tinyx 交叉編譯配置檔案(arm版)

李先靜發表於2020-04-06

Tinyx 交叉編譯配置檔案(arm版)


 轉載時請註明出處和作者聯絡方式
作者聯絡方式:李先靜 <xianjimli at hotmail dot com>


Host.def

 

#define KDriveXServer       YES

#define TinyXServer     YES

#define XfbdevServer        YES

#define CrossCompiling      YES

#define ProjectRoot             /usr/X11R6

#define NothingOutsideProjectRoot   YES

 

#define HasFreetype2        NO

#define HasFontconfig       NO

#define HasLibpng       NO

#define HasZlib         NO

 

#define HasExpat        NO

#define BuildXprintClients  NO

#define TouchScreen     YES

#define HasTsLib        YES

#define BuildDocs       NO

#define BuildXF86DRI        NO

#define BuildGlxExt     NO

#define BuildOSMesaLib      NO

#define BuildLowMem     NO

#define BuildIPv6       NO

 

#define HasMTRRSupport          NO

#define UseX86Emu               NO

#define XF86INT10_BUILD         X86INT10_STUB

#define BuildAppgroup           NO

#define BuildDBE                NO

#define BuildLBX                NO

 

#define BuildFonts              YES

#undef  BuildXF86RushExt

#define BuildXF86RushExt        NO

#undef  BuildRender

#define BuildRender             YES

#define UseRgbTxt               YES

#define BuildFontServer         NO

#define BuildClients            NO

#define BuildFonts              YES

#undef  BuildXF86RushExt

#define BuildXF86RushExt        NO

#undef  BuildRender

#define BuildRender             YES

#define UseRgbTxt               YES

#define BuildFontServer         NO

#define OmitSnfSupport          YES

 

#define  XdecMultiDepthServer  NO

#define  XsunServer            NO

#define  Xsun24Server          NO

#define  XsunMonoServer        NO

#define  XsunLynxServer        NO

#define  XSavageServer         NO

#define  XIgsServer            NO

#define  XTridentServer        NO

#define  XchipsServer          NO

#define  Xmach64Server         NO

#define  Xi810Server           NO

#define  XSis530Server         NO

#define  XTrioServer           NO

#define  XipaqServer           NO

#define  XTS300Server          NO

#define  XItsyServer           NO

#define  XvesaServer           NO

#define  XDarwinServer         NO

 

#define XF86CardDrivers         fbdev

#define XInputDrivers       mouse keyboard

 

cross.def

#undef Arm32Architecture

#undef i386Architecture

#undef Arm32Architecture

#undef Arm32Architecture

 

#define Arm32Architecture

 

#undef OptimizedCDebugFlags

 

#define OptimizedCDebugFlags    -Os

#define ServerCDebugFlags   -Os

#undef StandardDefines

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

        -DX_LOCALE -DUSE_DYNAMIC_LC -DUSE_UTF8_LOADER -DUSE_DYNAMIC_LOADER

 

#define PreIncDir

#undef PostIncDir

#undef CcCmd

#define CcCmd arm-linux-gcc -I$(ROOTFS_DIR)/usr/include/ncurses -I$(ROOTFS_DIR)/usr/include

#undef HasCplusplus

#define HasCplusplus NO

#undef CplusplusCmd

#define CplusplusCmd NO

#define DoRanlibCmd YES

#define RanlibCmd arm-linux-ranlib

#undef ExtraLoadFlags

#define ExtraLoadFlags

#define FbNoPixelAddrCode

#undef TermcapLibrary

#define TermcapLibrary -L$(ROOTFS_DIR)/usr/lib -lncurses

#define NCursesLibName -L$(ROOTFS_DIR)/usr/lib -lncurses

 

#undef LdPostLib

#undef LdCmd

#define LdCmd arm-linux-ld

 

#undef ExtensionOSDefines

#define ExtensionOSDefines

 

#define ServerXdmcpDefines 

 

#define GzipLibrary -L$(ROOTFS_DIR)/usr/local/lib -lz

 

#include <cross.rules>

 

相關文章