Lazy Programmer

tips for open source software

Parrot: build parrot on cygwin

Building parrot on cygwin is not as straightforward as on other platforms. You have to add path of libparrot.dll into PATH environment variable. For example,

PATH=/path/to/parrot/blib/lib:$PATH

It’s better to add this line into your .bashrc file so that you do not need to run it every time you start a console.

After that, you can follow basic building steps to build parrot.

$ perl Configure.PL
$ make

To test parrot, write a hello.pir

.sub main
    print "Hello world!\n"
.end

And then run it

$ parrot hello.pir

If everything is ok, you should get a string as output.

September 29, 2007 - Posted by Wang Liang | Cygwin, Parrot | | No Comments Yet

No comments yet.

Leave a comment