Re: .exe magic in Cygwin

2010-09-05 Thread Al
Sounds like you didn't run autoreconf (which would have been done automatically via the supported mechanism). I have added the autoreconf step to the Emerge scripts. Only one conflicts with a Gentoo patches, which I had to disable. Works fine now. Solved all problems from that corner. Al

Re: .exe magic in Cygwin

2010-09-03 Thread Al
Cygport is rather similar to emerge/ebuild already.  You might find it worthwhile to give it a look. I am aware of this. I want come to a solution, that builds me from sources on any of Windows, Mac and Linux. One to rule them all. I did only find Gentoo Prefix to be able to do this. If all

Re: .exe magic in Cygwin

2010-09-03 Thread Al
Right. I applied it the traditional way.  Ah, you have to understand this about cygport patches: they only contain patches for the source files, not the autogenerated ones.  So they have patches for e.g. Makefile.am, configure.ac; but not for configure or even Makefile.in.  It's vitally

Re: .exe magic in Cygwin

2010-09-03 Thread Al
2010/9/3 Al oss.el...@googlemail.com: Right. I applied it the traditional way.  Ah, you have to understand this about cygport patches: they only contain patches for the source files, not the autogenerated ones.  So they have patches for e.g. Makefile.am, configure.ac; but not for configure or

Re: .exe magic in Cygwin

2010-09-03 Thread Al
2010/9/3 Al oss.el...@googlemail.com: 2010/9/3 Al oss.el...@googlemail.com: Right. I applied it the traditional way.  Ah, you have to understand this about cygport patches: they only contain patches for the source files, not the autogenerated ones.  So they have patches for e.g. Makefile.am,

.exe magic in Cygwin

2010-09-02 Thread Al
Hello, I would like to estimate theexpenses to port general linux sources to Cygwin. I did look into Cygwins patch for coreutils. It has 1231 lines of diff code. A lot of the stuff is related to the .exe magic done by cygwin. Do I have to implement that magic in this extend into every

Re: .exe magic in Cygwin

2010-09-02 Thread Eric Blake
On 09/02/2010 01:25 PM, Al wrote: Hello, I would like to estimate theexpenses to port general linux sources to Cygwin. I did look into Cygwins patch for coreutils. It has 1231 lines of diff code. A lot of the stuff is related to the .exe magic done by cygwin. Do I have to implement

Re: .exe magic in Cygwin

2010-09-02 Thread Al
Coreutils tends to be an exception, because it is so core to the system.  Other tools that I also maintain, like m4 or findutils, port with 0 patches. Thank you. That gives me back some optimism. I first compiled coreutils without the cygwin patch. It did compile but afterwards the

Re: .exe magic in Cygwin

2010-09-02 Thread Eric Blake
On 09/02/2010 02:06 PM, Al wrote: I first compiled coreutils without the cygwin patch. It did compile but afterwards the compilation of findutils, etc. was broken. For example configure.status of wget was truncated at the top and out of order at the bottom. That stopped all further efforts of

Re: .exe magic in Cygwin

2010-09-02 Thread Al
Sounds like you didn't run autoreconf (which would have been done automatically via the supported mechanism). Right. I applied it the traditional way. setup.exe to download the sources and several prerequisite tools (cygport, autoconf, ...), then using 'cygport coreutils-8.5-1 prep make'.  

Re: .exe magic in Cygwin

2010-09-02 Thread Jeremy Bopp
On 9/2/2010 3:44 PM, Al wrote: setup.exe to download the sources and several prerequisite tools (cygport, autoconf, ...), then using 'cygport coreutils-8.5-1 prep make'. Other ways work, but I won't support them on this list. See also As a want to come a hybrid of Cygwin and Gentoos Emerge

Re: .exe magic in Cygwin

2010-09-02 Thread Dave Korn
On 02/09/2010 21:44, Al wrote: Sounds like you didn't run autoreconf (which would have been done automatically via the supported mechanism). Right. I applied it the traditional way. Ah, you have to understand this about cygport patches: they only contain patches for the source files, not

Re: .exe magic in Cygwin

2010-09-02 Thread Charles Wilson
On 9/2/2010 7:46 PM, Dave Korn wrote: I did once try running cygport on a linux box (with a cross-compiler). I don't remember exactly what went wrong, it didn't work directly out of the box, but it shouldn't be hard to fix. It's only the most recent release of cygport (0.10.0) that has