On Wed, Oct 10, 2001 at 04:22:49PM -0400, Harold Hunt wrote: > There is only one problem, which I am testing a fix for right now. The > problem is that adding 'libs' to xc/config/cf/cross.rules/HostLinkRule > causes problems with xc/lib/X11/util/makekeys and > xc/lib/lbxutil/image/mkg3states because the HostLinkRule for those commands > is passed $(LDLIBS), which is -L/cygwin/i686-pc-cygwin/lib when cross > compiling. > > My fix is to add a #if CrossCompiling section for these link rules and to > not pass $(LDLIBS) when cross compiling. I would just remove the $(LDLIBS) > parameter from the HostLinkRule, but there may be some platform that needs > those libraries passed to HostLinkRule. What do you think? > Nope. This is the right way.... Modify your host.def again with this patch.
Alan. --- host.def.old Wed Oct 10 21:49:43 2001 +++ host.def Wed Oct 10 21:50:01 2001 @@ -41,7 +41,7 @@ #undef ExtraIncDir #define ExtraIncDir /cygwin/i686-pc-cygwin/include/w32api #undef LdPostLib -#define LdPostLib -L/cygwin/i686-pc-cygwin/lib +#define LdPostLib #undef ExtensionOSDefines #define ExtensionOSDefines
