Re: Pugs on Cygwin

2005-05-10 Thread Rob Kinyon
I have a "working" pugscc and cannot run the test suite. Should I check in my pugscc changes or post them to the list so that Gaal can run them against a Pugs that has a working test suite? Rob On 5/10/05, Gaal Yahas <[EMAIL PROTECTED]> wrote: > On Tue, May 10, 2005 at 10:00:45AM -0400, Rob Kinyo

Re: Pugs on Cygwin

2005-05-10 Thread Gaal Yahas
On Tue, May 10, 2005 at 10:00:45AM -0400, Rob Kinyon wrote: > > Until we find a champion for that cause, I think it would still be useful > > to allow pugs to be built, as today, on Windows using Cygwin's gcc and > > perl5 (just like Corion makes a native build with -- I think -- cc1.exe > > and a

Re: Pugs on Cygwin

2005-05-10 Thread Rob Kinyon
> To make a Cygwin pugs, we would need to use a Cygwin GHC.[1] To the best > of my knowledge, nobody maintains public binaries of that; and there is > also the somewhat scary warning of a binary GHC being "a moving target" > since cygwin1.dll often changes in ABI-breaking ways. In short, a real > C

Re: Pugs on Cygwin

2005-05-10 Thread Gaal Yahas
of discussions with Rob and others on #perl6 and around. Building Pugs on Cygwin doesn't result in a Cygwin executable at all. It doesn't depend on the Cygwin DLL; and doesn't have any fun POSIX functionality. The key points are: * It compiles with the .msi GHC, which is MSYS-based;

Re: Pugs on Cygwin

2005-05-05 Thread Rob Kinyon
Oh - one more thing. hsc2hs needs to be done by hand on Cygwin. You cannot allow it to try and built through because the last step (executing the .exe redirected to the .hs) will fail and that cannot be cygpath'ed (I don't think). Having the makefile execute each step separately may be a good optio

Re: Pugs on Cygwin

2005-05-05 Thread Rob Kinyon
I've found the problem with "make test" not working. The problem is the pathname not being cygpath'ed. Basically, every call to doesFileExist needs to be cygpath'ed. Unfortunately, I have no idea how to do that. All the calls to doesFileExist seem to be in src/Pugs/Prim.hs lines 204,1250,1256. The

Re: Pugs on Cygwin

2005-05-03 Thread Autrijus Tang
On Tue, May 03, 2005 at 07:36:24AM -0400, Rob Kinyon wrote: > I pulled svn r2461 and it does compile on cygwin, yes. But, the > @INC problem is still there, preventing 'make test' from running > successfully. Do you want me to look at that? Please do, thanks. :-) Also there is the problem wit

Re: Pugs on Cygwin

2005-05-03 Thread Rob Kinyon
Gaal - I pulled svn r2461 and it does compile on cygwin, yes. But, the @INC problem is still there, preventing 'make test' from running successfully. Do you want me to look at that? Rob On 5/2/05, Gaal Yahas <[EMAIL PROTECTED]> wrote: > On Mon, May 02, 2005 at 09:06:42AM -0400, Rob Kinyon wr

Re: Pugs on Cygwin

2005-05-02 Thread Gaal Yahas
On Mon, May 02, 2005 at 09:06:42AM -0400, Rob Kinyon wrote: > I'm willing to do any testing needed to get and keep a Cygwin port > happy. If this is something the group wants to pursue, I'll post my > cygghc. Pugs builds on Cygwin as of 6.2.2 (or svn r2460). pugscc needs some cygpath love and if y

Pugs on Cygwin

2005-05-02 Thread Rob Kinyon
I noticed that Makefile.PL has deny_cygwin() very early on in the process. As I hate developing in native Win32, I've been trying to make this problem go away. Please correct me if I'm wrong, but the only problem with Pugs on Cygwin is the pathing requirements that GHC has, all of