How to crosscompile xfree86 statically?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I want to cross compile xfree86 statically for ARM processor to use in 2.6.9 Linux kernel.
I modified the cross.dep which is given below and able to compile it dynamically. But I have to compile it statically. Can you help me to compile xfree86 statically?

-----------------------------------------start of cross.dep----------------------------------------------------
/* $XFree86: xc/config/cf/cross.def,v 1.3 2002/04/04 14:05:33 eich Exp $ */
/*
 * This file contains redefinitions of some symbols to enable
 * cross compilation: e.g. paths for include files and paths to
 * compiler images.  It will have to be edited to reflect these
 * given your local configuration.
 */
#if 1
#undef i386Architecture
#define Arm32Architecture

#undef OptimizedCDebugFlags
#define OptimizedCDebugFlags    -O2
#define ServerCDebugFlags       -O2
#undef StandardDefines
#define StandardDefines         -Dlinux -D__arm__ -D_POSIX_SOURCE \
                                -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
#undef CcCmd
#define StdIncDir /home/vijay/GCC/arm-linux/gcc-3.4.0-1/arm-linux/include
#define PreIncDir
#undef PostIncDir
#define PostIncDir /home/vijay/GCC/arm-linux/gcc-3.4.0-1/lib/gcc/arm-linux/3.4.0/include
#define CcCmd /home/vijay/GCC/arm-linux/gcc-3.4.0-1/bin/arm-linux-gcc
#undef CplusplusCmd
#define HasCplusplus YES
#define CplusplusCmd /home/vijay/GCC/arm-linux/gcc-3.4.0-1/bin/arm-linux-g++
#define DoRanlibCmd YES
#define RanlibCmd /home/vijay/GCC/arm-linux/gcc-3.4.0-1/bin/arm-linux-ranlib
#undef ExtraLoadFlags
#define ExtraLoadFlags
#define FbNoPixelAddrCode
#undef TermcapLibrary
#define TermcapLibrary -ltermcap
#undef LdPostLib
#define LdPostLib       -L/home/vijay/GCC/arm-linux/gcc-3.4.0-1/arm-linux/lib

#undef ExtensionOSDefines
#define ExtensionOSDefines

#define ServerXdmcpDefines      /**/

#define HostCcCmd  cc
#endif
#include <cross.rules>
-----------------------------------------End of cross.dep----------------------------------------------------

Thanks and Regards,
Hari

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux