RE: Cross-compiling instructions at http://x.cygwin.com/docs/cg/prog-build-cross.html obsolete?

2006-07-14 Thread Dave Korn
On 14 July 2006 16:21, Alain Knaff wrote: > I'm trying to build a Cygwin cross compiler (i.e. a compiler that runs > on Linux but generates binaries that run on Cygwin) > For this, I tried to follow the instructions at > http://x.cygwin.com/docs/cg/prog-build-cross.html > > However, these seem t

Cross-compiling instructions at http://x.cygwin.com/docs/cg/prog-build-cross.html obsolete?

2006-07-14 Thread Alain Knaff
Hi, I'm trying to build a Cygwin cross compiler (i.e. a compiler that runs on Linux but generates binaries that run on Cygwin) For this, I tried to follow the instructions at http://x.cygwin.com/docs/cg/prog-build-cross.html However, these seem to be obsolete. Indeed, on my Fedora Core 5, I

Re: (patch seq: 5725) [Egbert Eich - Please review] Patch for makedepend/Imakefile when cross compiling

2004-03-31 Thread Harold L Hunt II
Well, that is about as worthless as tits on a boar. Harold Marc Aurele La France wrote: On Thu, 31 Jul 2003, Harold L Hunt II wrote: 1) Don't use canned default for PreIncDir when cross compiling. 2) Make a more sophisticated cannded default for StdIncDir when cross compiling: #d

Re: (patch seq: 5725) [Egbert Eich - Please review] Patch for makedepend/Imakefile when cross compiling

2004-03-31 Thread Marc Aurele La France
On Thu, 31 Jul 2003, Harold L Hunt II wrote: > 1) Don't use canned default for PreIncDir when cross compiling. > 2) Make a more sophisticated cannded default for StdIncDir when cross > compiling: > #define StdIncDir Concat(CrossCompileDir,/../include) > Both from Alexan

Cross compiling patch for programs/mkfontdir/Imakefile

2003-07-31 Thread Harold L Hunt II
Remove ProgamTargetName wrapper from mkfontdir target since mkfontdir is now just a simple script. ProgramTargetName appends .exe to targets when cross compiling for Cygwin, which is incorrect for scripts. >From Alexander Gottwald (Cygwin/XFree86 Project Contributor). Patch is attached for H

[Egbert Eich - Please review] Patch for makedepend/Imakefile when cross compiling

2003-07-31 Thread Harold L Hunt II
1) Don't use canned default for PreIncDir when cross compiling. 2) Make a more sophisticated cannded default for StdIncDir when cross compiling: #define StdIncDir Concat(CrossCompileDir,/../include) Both from Alexander Gottwald (Cygwin/XFree86 project contributor). Attached are patche

Re: Cross compiling xf-4_3-branch

2003-07-31 Thread Alexander Gottwald
Harold L Hunt II wrote: > ../../../../config/makedepend/makedepend: warning: > /usr/include/gnu/stubs.h: non-portable whitespace encountered at line 7 There is still a reference to /usr/include in xc/config/makedepend/Makefile. remake config/makedepend/main.o and see what defines are passed to

Re: Cross compiling xf-4_3-branch

2003-07-31 Thread Alexander Gottwald
Harold L Hunt II wrote: > Alexander, > > If I pass CROSSCOMPILEDIR=/home/harold/cygwin/bin, then it seems that > your patch requires that the Cygwin includes be in: what about CROSSCOMPILEDIR=/home/harold/cygwin/i686-pc-cygwin/bin? The crosscompile tools I have installed on my machine are instal

Re: Cross compiling xf-4_3-branch

2003-07-31 Thread Harold L Hunt II
Alexander, Your two patches get rid of the w32api directory problems. However, I am still getting the following warning: ../../../../config/makedepend/makedepend: warning: /usr/include/gnu/stubs.h: non-portable whitespace encountered at line 7 Is there just no way to get rid of that or have w

Re: Cross compiling xf-4_3-branch

2003-07-31 Thread Harold L Hunt II
Alexander, If I pass CROSSCOMPILEDIR=/home/harold/cygwin/bin, then it seems that your patch requires that the Cygwin includes be in: /home/harold/cygwin/include right? If so, please review my Contributor's Guide section that tells people how to unpack the headers and libs on their cross compi

Re: Cross compiling xf-4_3-branch

2003-07-31 Thread Alexander Gottwald
Alexander Gottwald wrote: > > I've attached the patch for makedepend. The cygwin.cf part is needed too *g* I've attached both parts now. bye ago NP: Stark - Wield (Kinetic) -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723Index: config/cf/cygwin.cf =

Re: Cross compiling xf-4_3-branch

2003-07-31 Thread Alexander Gottwald
Harold L Hunt II wrote: > Actually, makedepend *did* know about the w32api directory, it was just > searching for it in the wrong path: The paths were hardcoded for non-crosscompiling. On every place where such a path (eg. /usr/include/w32api) was used I added a switch #if CrossCompiling #define

Re: Cross compiling xf-4_3-branch

2003-07-31 Thread Harold L Hunt II
Alexander Gottwald wrote: On Wed, 30 Jul 2003, Harold L Hunt II wrote: ../../../../config/makedepend/makedepend: warning: winclipboardinit.c (reading winclipboard.h, line 61): cannot find include file "windows.h" not in ./windows.h the makedepend utitility does know nothing about the w32ap

Re: Cross compiling xf-4_3-branch

2003-07-31 Thread Alexander Gottwald
Alexander Gottwald wrote: > I'm not sure if I also fixed makedepend (I think not, otherwise I'd have > sendin a patch) but I'll check tonight. I've checked in two patches (one to cygwin.cf and one to makedepend/Imakefile) They change the default includedirs for crosscompiling. The one to cygwin

Re: Cross compiling xf-4_3-branch

2003-07-31 Thread Alexander Gottwald
pi directory. As a patch add -I/path/to/include/w32api to the CFLAGS. I'm not sure if I also fixed makedepend (I think not, otherwise I'd have sendin a patch) but I'll check tonight. > Any ideas? I would really like to get cross compiling fixed before I > make a 4.

Cross compiling xf-4_3-branch

2003-07-30 Thread Harold L Hunt II
es 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 m

Re: Cross Compiling host.def

2003-01-03 Thread Alexander Gottwald
Alexander Gottwald wrote: > Harold L Hunt II wrote: > > > I just updated the Contributor's Guide yesterday and I meant to check if we > > still needed a host.def file. I seem to have messed up somewhere and left > > with the impression that we did not need a host.def file anymore... but it > > s

Re: Cross Compiling host.def

2003-01-03 Thread Alexander Gottwald
Harold L Hunt II wrote: > I just updated the Contributor's Guide yesterday and I meant to check if we > still needed a host.def file. I seem to have messed up somewhere and left > with the impression that we did not need a host.def file anymore... but it > seems that I didn't actually delete the

Cross Compiling - Annoying warnings

2003-01-02 Thread Harold L Hunt II
, the following lines that declare it are stupid: /* * X-specific things */ #if CrossCompiling # if defined UseInstalled && !defined UseInstalledOnCrossCompile # define UseInstalledOnCrossCompile YES # endif #endif So, if you aren't cross compiling, or if you are but you d

Cross Compiling host.def

2003-01-02 Thread Harold L Hunt II
I may have used: /* * Cygwin/XFree86 - host.def file, to be placed in xc/config/cf/host.def * when cross compiling XFree86 for Cygwin. * * Sample build command for cross compilation: * make CROSSCOMPILEDIR="/cygwin/bin" World > World.log 2>&1 * * Harold Hunt - 2003/01/01 */ /*

Re: Cross Compiling

2002-08-16 Thread Guy Harrison
On Mon, 8 Jul 2002 15:01:54 +0200 (CEST), Alexander Gottwald <[EMAIL PROTECTED]> wrote: RE... >On Mon, 8 Jul 2002, Nicholas Wourms wrote: > >> >> I did a little research and indeed it is those damn SuSE people who broke >> the cross compiling system! Take a look

Re: Cross Compiling

2002-07-08 Thread Harold L Hunt
Alexander, > Interesting article. I'll check what is needed to get current CVS cross- > compile in that build environment. Okay. > I made the following changes to build imake (the diff I'll send Thursday > will show this in complete) > > - set BOOTSTRAPCFLAGS to "-Ulinux -D__CYGWIN__" > - pass

Re: Cross Compiling

2002-07-08 Thread Alexander Gottwald
On Mon, 8 Jul 2002, Nicholas Wourms wrote: > > I did a little research and indeed it is those damn SuSE people who broke > the cross compiling system! Take a look at: > http://www.xfree86.org/~keithp/xconf2001/cc-imake.pdf Interesting article. I'll check what is needed t

Re: Cross Compiling

2002-07-08 Thread Nicholas Wourms
--- Harold Hunt <[EMAIL PROTECTED]> wrote: > Yup, cross compiling is toroughly broken right now. It will take awhile > to > get it working properly. I'd appreciate it if anyone that is cross > compiling the current XFree86 cvs would send in their host.def, any >

Re: Cross Compiling

2002-07-08 Thread Alexander Gottwald
On Mon, 8 Jul 2002, Harold Hunt wrote: > Yup, cross compiling is toroughly broken right now. It will take awhile to > get it working properly. I'd appreciate it if anyone that is cross > compiling the current XFree86 cvs would send in their host.def, any > modification they

Cross Compiling

2002-07-07 Thread Harold Hunt
Yup, cross compiling is toroughly broken right now. It will take awhile to get it working properly. I'd appreciate it if anyone that is cross compiling the current XFree86 cvs would send in their host.def, any modification they made to cygwin.cf, etc. and their build command. Thanks, Harold