This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cross Compiling


On Tue, Oct 09, 2001 at 04:00:19PM -0400, Harold Hunt wrote:
> Cross compiling Cygwin/XFree86 now works better than it ever has
> efore.  --enable-auto-import is no longer causing problems after Alan and I
> created the SimpleHostProgramTarget_x rules in xc/config/cf/cross.rules
> 
> The only thing about cross compiling that still bothers me is that
> makedepend can't find the w32api headers that we use in hw/xwin; this
> doesn't cause build bustage, but it generates a couple hundred lines of
> worthless warnings in the build log.  It strikes me as odd that makedepend
> tries looking in /usr/include/w32api, but it doesn't try
> /cygwin/i686-pc-cygwin/include/w32api.  Note, windows.h is stored in the
> latter directory.  I've attached the relevant log section below.
> 
> I've tried before to fix this problem, but I really don't have anymore
> ideas.
> 
Just fixed this Harold. But you need to apply this patch to your
host.def file on the Cross Compile section on the web pages.

Alan.

--- host.def.old	Mon Oct  8 12:19:16 2001
+++ host.def	Tue Oct  9 22:35:57 2001
@@ -38,8 +38,8 @@
 #define PreIncDir 
 #undef PostIncDir
 #define PostIncDir /cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/include
-#undef ExtraLoadFlags
-#define ExtraLoadFlags
+#undef ExtraIncDir
+#define ExtraIncDir /cygwin/i686-pc-cygwin/include/w32api
 #undef LdPostLib
 #define LdPostLib	-L/cygwin/i686-pc-cygwin/lib
 #undef ExtensionOSDefines


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]