1. Need not to mention complete path here. just mention the cross compilation tool name that will be enough. like ccCmd arm-linux-gcc 2. Make sure you use all tools for cross compilation NO NATIVE ARCH TOOL SHOULD BE ALLOWED. 3. while compiling forward msgs to a log something like: make World > build.log 2>&1 and refer content of build.log. If still face issues attach the log for my ref.
cheers. On 4/19/07, hari ram <[EMAIL PROTECTED]> wrote:
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