This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Cross compiling xf-4_3-branch
- From: Harold L Hunt II <huntharo at msu dot edu>
- To: cygx <cygwin-xfree at cygwin dot com>
- Date: Wed, 30 Jul 2003 23:20:45 -0400
- Subject: Cross compiling xf-4_3-branch
- Reply-to: cygwin-xfree at cygwin dot com
I have been trying to cross compile Cygwin/XFree86 from the XFree86.org
CVS xf-4_3-branch. I am using a host.def file that basically has the
following line in it:
=======================================================================
#define BuildFonts NO
=======================================================================
I have run a script as suggested by Jim Gettys in /home/harold/cygwin/bin:
=======================================================================
#!/bin/bash
#
# This stuff is required for the Cross Compile Environment.
#
cd /home/harold/cygwin/bin
for i in *; do
if [ $i != ${i/i686-pc-cygwin-/} ]; then
ln -s $i ${i/i686-pc-cygwin-/}
fi
done
ln -s i686-pc-cygwin-gcc cc
=======================================================================
Most everything is building okay, but I am getting strange include
problems from makedepend:
=======================================================================
../../../../config/makedepend/makedepend: warning: winclipboardinit.c
(reading winclipboard.h, line 61): cannot find include file "windows.h"
not in ./windows.h
not in ../../../../exports/include/X11/windows.h
not in ../../../../include/fonts/windows.h
not in ../../../../programs/Xserver/fb/windows.h
not in ../../../../programs/Xserver/mi/windows.h
not in ../../../../programs/Xserver/miext/shadow/windows.h
not in ../../../../programs/Xserver/miext/layer/windows.h
not in ../../../../programs/Xserver/include/windows.h
not in ../../../../programs/Xserver/os/windows.h
not in ../../../../include/extensions/windows.h
not in ../../../../exports/include/X11/windows.h
not in ../../../../programs/Xserver/render/windows.h
not in ../../../../programs/Xserver/randr/windows.h
not in ../../../../windows.h
not in ../../../../exports/include/windows.h
not in /usr/local/lib/gcc-include/windows.h
not in /usr/include/windows.h
not in /usr/include/w32api/windows.h
not in /usr/lib/gcc-lib/i386-linux/3.3.1/include/windows.h
=======================================================================
Of course, this is quite strange because makedepend should not be
looking in /usr/*. Any ideas as to why this is happening?
I am also getting the following warning from makedepend that indicates
another includes problem:
=======================================================================
../../../../config/makedepend/makedepend: warning:
/usr/include/gnu/stubs.h: non-portable whitespace encountered at line 7
=======================================================================
Any ideas? I would really like to get cross compiling fixed before I
make a 4.3.0 release. In fact, I might build the release version as a
cross compile if I get all the little kinds straightened out.
Harold