Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Get Involved With Pugs

by tphyahoo (Vicar)
on May 11, 2005 at 16:32 UTC ( [id://456068]=note: print w/replies, xml ) Need Help??


in reply to Get Involved With Pugs

Who can get involved with PUGS is determined first, by what systems PUGS can be installed on. The Pugs Readme gives instructions on installing but doesn't say what systems PUGS is known/believed to be installable. Does such a list exist anywhere?

Has anyone been able to get this to install on a windows box, which is what I have?

Replies are listed 'Best First'.
Re^2: Get Involved With Pugs
by Limbic~Region (Chancellor) on May 11, 2005 at 16:45 UTC
    tphyahoo,
    Pugs should work on every platform that GHC works on. There are a fair amount of binary packages to include Win32. More information can be found here.

    Cheers - L~R

      ghc is available as a rpm for Mandriva. This packaging has been contributed by Rafael Garcia-Suarez.

      -- stefp

Re^2: Get Involved With Pugs
by tphyahoo (Vicar) on May 12, 2005 at 08:40 UTC
    Thanks, Limbic~Region.

    PUGS on MS Windows looks like a good place to start if you want PUGS to play with Windows and ActiveState. Monastery post Hello Perl 6. Running pugs on Windows makes me pretty optimistic as well :)

    FWIW, the binary windows installer for GHC.

    Secondly, GHC Contributors indicates that GHC works with windows targetting mingw and cygwin. I seem to recall a chatterbox interaction the upshot of which was that getting PUGS to install on Cygwin was less than trivial, which come to think of it is what prompted me to ask whether PUGS could be installed on a windows box. Maybe this was a red herring though and I don't even need cygwin...

    I just downloaded GHC for windows and will see if I can get PUGS onto my win box today, without cygwin. If anyone else has light to shed about this, would be great :)

      The "GHC for cygwin" is a misnomer, as GHC is mostly a native Win32 application. I haven't seen which backend for code generation GHC actually uses, but I assume it is built-in. I don't know if there is a build of GHC with MSVC, but as GHC is a compiler itself, I assume that GHC is compiled with itself mostly.

      I am developing Pugs on Win32 without any problems, because the support of GHC for Win32 is really good and one can easily access the Win32 API from within GHC. There are some things that are different between Pugs/Win32 and Pugs/POSIX:

      • fork() will not happen, or it will be the ugly abomination that fork emulation is under Perl5
      • system() and built-in threading (async blocks) don't play together. This might be fixed by making GHC spawn OS threads when launching a system() command, so the rest of Pugs continues running.
      • select() on non-sockets - WaitForSingleObject cannot wait for winsock.dll objects, and the select call of winsock does not know about the other kernel objects.
        My impression is these are basically the same things that are different between Perl/Win32 and Perl/POSIX. And for the same reason...

        Is this correct, or oversimplifying?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://456068]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-20 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found