Hi, I am trying to cross compile Xfree86 for my arm target. I am using cross.defand host.def which I used for cross compiling xc-01101 package. There it was cross compiling ok with the same method. I have set the PATH to my toolchain dir. How ever for some reason compilation breaks with asm/mtrr.h No such file or Dir. Also there is lot of warning like ByteOrder not defined. I am using the following cross.def and host.def
*********cross.def*************8 /* $XFree86: xc/config/cf/cross.def,v 1.2 2001/03/30 02:15:17 keithp 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. */ #define Arm32Architecture #undef i386Architecture #undef Arm32Architecture #undef 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 #define StdIncDir /home/tanalam/buildroot/build_arm_nofpu/staging_dir/include #define PreIncDir #undef PostIncDir #define PostIncDir /home/tanalam/buildroot/build_arm_nofpu/staging_dir/lib/gcc/arm-linux-uclibc/3.4.5/include/ #undef CcCmd #define CcCmd /home/tanalam/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-gcc #undef HasCplusplus #define HasCplusplus YES #undef CplusplusCmd #define CplusplusCmd /home/tanalam/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-g++ #define DoRanlibCmd YES #define RanlibCmd /home/tanalam/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-ranlib #undef ExtraLoadFlags #define ExtraLoadFlags #define FbNoPixelAddrCode #undef TermcapLibrary #undef LdPostLib #define LdPostLib -L/home/tanalam/buildroot/build_arm_nofpu/staging_dir/arm-linux-uclibc/lib #undef LdCmd #define LdCmd /home/tanalam/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-ld #undef ExtensionOSDefines #define ExtensionOSDefines -lncurses #define ServerXdmcpDefines /**/ #define HostCcCmd cc #include <cross.rules> **************************host.def**************************** #define CrossCompiling YES #define TinyXServer YES #define XfbdevServer YES #define ProjectRoot /mnt/hda1/gtk-Lat-ver/usr/X11R6 #define NothingOutsideProjectRoot YES #define BuildXTrueType NO #undef BuildRandR #define BuildRandR YES #define HasFreetype2 NO #define HasFontconfig NO #define HasLibpng YES #define HasZlib YES #define HasExpat NO #define XprtServer NO #define BuildXprintClients NO #define TouchScreen NO #define HasTsLib NO #define BuildDocs NO #define BuildXF86DRI NO #define BuildGlxExt NO #define BuildOSMesaLib NO #define BuildLBX NO #define BuildLowMem NO #define BuildIPv6 NO /* #define XF86CardDrivers mga glint nv tga s3virge sis rendition \ neomagic i740 tdfx savage \ cirrus vmware tseng trident chips apm \ GlideDriver fbdev i128 \ ati AgpGartDrivers DevelDrivers ark \ cyrix siliconmotion vesa vga \ XF86OSCardDrivers XF86ExtraCardDrivers */ #define XInputDrivers mouse keyboard ************************************************************************** TIA tan....