On Fri, 16 Oct 2009, john blair wrote:
Thanks again for the quick reply and patch. Finally cross compiled xfree86
:). I had to apply one more patch though otherwise I was getting a
internal compiler error:
--- xc/programs/Xserver/hw/xfree86/scanpci/Imakefile 2005-10-18
07:36:08.000000000 -0700
+++ xc.old/programs/Xserver/hw/xfree86/scanpci/Imakefile 2009-10-15
18:33:21.000000000 -0700
@@ -47,7 +47,8 @@
LinkFile(xf86PciData.c,xf86ScanPci.c)
-SpecialCObjectRule(xf86PciData,NullParameter,-DPCIDATA)
+SpecialCObjectRule(xf86ScanPci,NullParameter,-O0)
+SpecialCObjectRule(xf86PciData,NullParameter,-O0 -DPCIDATA)
#if DoLoadableServer
MakeSubdirs($(SUBDIRS))
--- xc/programs/Xserver/hw/xfree86/scanpci/module/Imakefile 2005-10-18
07:36:12.000000000 -0700
+++ xc.old/programs/Xserver/hw/xfree86/scanpci/module/Imakefile 2009-10-15
18:26:24.000000000 -0700
@@ -63,7 +63,8 @@
ModuleObjectRule()
-SpecialCObjectRule(xf86PciData,NullParameter,-DPCIDATA)
+SpecialCObjectRule(xf86ScanPci,NullParameter,-O0)
+SpecialCObjectRule(xf86PciData,NullParameter,-O0 -DPCIDATA)
LibraryModuleTarget(scanpci,xf86ScanPci.o,.)
Thanks a lot for the help.
You're quite welcome. However, we're not done yet. Those "-O0"'s are there
for a reason. Before the SpecialCObjectRule line in both Imakefile's, please
insert ...
CDEBUGFLAGS = NoOpCDebugFlags
... then, under xc/programs/Xserver/hw/xfree86/scanpci, do ...
make Makefile
make Makefiles
make clean
make depend
make
... and tell me whether or not your GCC still burps on that last `make`.
Thanks.
Marc.
+----------------------------------+----------------------------------+
| Marc Aurele La France | work: 1-780-492-9310 |
| Academic Information and | fax: 1-780-492-1729 |
| Communications Technologies | email: [email protected] |
| 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
[email protected]
http://XFree86.Org/mailman/listinfo/xfree86