On Tue, 4 Mar 2008, tanweer alam wrote:
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
[...]
I suspect the problem has something to do with your cross.def's failure to
set Arm32Architecture.
Marc.
+----------------------------------+----------------------------------+
| Marc Aurele La France | work: 1-780-492-9310 |
| Academic Information and | fax: 1-780-492-1729 |
| Communications Technologies | email: tsi@xxxxxxxxxxx |
| 352 General Services Building +----------------------------------+
| University of Alberta | |
| Edmonton, Alberta | Standard disclaimers apply |
| T6G 2H1 | |
| CANADA | |
+----------------------------------+----------------------------------+
XFree86 developer and VP. ATI driver and X server internals.
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86