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


Alan,

> One final thing here. I've fixed 'xkbcomp' so it generates the cygwin
> executable, but also generates the Host's xkbcomp so it can process
> the files. I think this was the last of the build problems with cross
> compiling.

Thanks.  I've been trying to fix that problem forever and I was going to ask
you about it yesterday, but I figured it was too difficult or impossible, so
I didn't even bother to ask :)  It's great to hear that you just went and
fixed it.  :)

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?


Harold


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