Re: Problem in using inline C with perl6

2013-08-10 Thread David Oswald
Ashraya: I'll try to summarize what's transpired in this thread. You: "I am trying to use the C extention feature with perl6." Sisyphus (maintainer of Inline::C): "I don't see how Inline::C (in its current form) could ever work with perl6 - because, under the hood, Inline::C do

Re: Problem in using inline C with perl6

2013-08-10 Thread Will Coleda
This question is better sent to perl6-us...@perl.org - Inline::C doesn't exist in perl6, so even if you get past the error on the use statement, this isn't going to work as written. On Wed, Aug 7, 2013 at 12:23 AM, Ashraya wrote: > Hi All, > > I am trying to use the C extention feature with pe

Re: Problem in using inline C with perl6

2013-08-10 Thread Ashraya
Hello All, Can anyone please help with using inline C in perl6 ? basically I want C extensions in perl6. This is what I tried.. h2xs -PAXn Math::Simple ashiva@ubuntu:~/Parrot/rakudo/ Inline-0.44/Math-Simple$ cat math.pl #!/usr/bin/perl6 use lib './lib/Math/.'; use Math::Simple; print add(2, 3

Re: Problem in using inline C with perl6

2013-08-08 Thread sisyphus1
From: Ashraya Sent: Wednesday, August 07, 2013 2:23 PM To: inline@perl.org ; Duke Leto ; Will Coleda Subject: Problem in using inline C with perl6 Hi All, I am trying to use the C extention feature with perl6. Although it worked fine with perl5, the C extention is different from perl5 to

Problem in using inline C with perl6

2013-08-07 Thread Ashraya
Hi All, I am trying to use the C extention feature with perl6. Although it worked fine with perl5, the C extention is different from perl5 to perl6. I tried to use the same as following : h2xs -PAXn Math::Simple ashiva@ubuntu:~/Parrot/rakudo/Inline-0.44/Math-Simple$ cat math.pl #!/usr/bin/perl6