GCC failed with configure.pl

Jonathan "Duke" Leto jonathan at leto.net
Tue Jul 16 20:40:18 UTC 2013


Howdy,

You can embed Parrot inside of a C or C++ application. It can be any
language, actually (it works with FORTRAN), but we have the best docs
for C and C++. I have embedded Parrot inside of PostgreSQL (PL/Parrot
[0]), but that uses the old interface [1]. The new interface [2] is
infinitely better, but has not been heavily used. But it was designed
very well by Whiteknight, so it is high quality.

You can also call out to C/C++ libraries from parrot via "dlopen" and
cousins via the Native Call Interface (NCI) substem of Parrot [3].

Which of those things do you want to do, or possibly both?

Duke

[0] http://pl.parrot.org
[1] https://github.com/parrot/parrot/blob/master/docs/embed.pod
[2] https://github.com/parrot/parrot/blob/master/docs/embed_new.pod
[3] https://github.com/parrot/parrot/blob/master/docs/pdds/draft/pdd16_native_call.pod


On Tue, Jul 16, 2013 at 4:58 AM, Ashraya S <theemeraldsoul at gmail.com> wrote:
> Hello All,
>
> I switched to my favorite Ubuntu and parrot got installed like a charm.
>
> However, I would like to know how parrot supports C program compilation.
> Is there any tutorial I can find ? I did not get much support for C in
> google. Got loads for perl and pasm.
>
> Please advise.
>
> Thanks,
> Ashiva
>
>
> On Wednesday, July 10, 2013 7:30:29 PM UTC+5:30, Coke wrote:
>>
>> Do you have a C compiler installed?
>>
>>
>> On Wed, Jul 10, 2013 at 6:39 AM, Ashraya S <theemer... at gmail.com> wrote:
>>>
>>> Hi All,
>>>
>>> I am new to parrot and i am trying to install this in windows 7.
>>> I have installed perl and minGW and have added these to my PATH as well.
>>>
>>> But i get the following error :
>>>
>>> C:\Users\ashiva\Documents\GitHub\parrot>perl Configure.pl
>>> Parrot Version 5.5.0 Configure 2.0
>>> Copyright (C) 2001-2013, Parrot Foundation.
>>>
>>> Hello, I'm Configure. My job is to poke and prod your system to figure
>>> out
>>> how to build Parrot. The process is completely automated, unless you
>>> passed in
>>> the `--ask' flag on the command line, in which case I'll prompt you for a
>>> few
>>> pieces of info.
>>>
>>> Since you're running this program, you obviously have Perl 5--I'll be
>>> pulling
>>> some defaults from its configuration.
>>>
>>> init::manifest -      Check
>>> MANIFEST.....................................done.
>>> init::defaults -      Set Configure's default
>>> values.....................done.
>>> init::install -       Set up installation
>>> paths..........................done.
>>> init::hints -         Load platform and local hints
>>> files................done.
>>> inter::progs -        Determine what C compiler and linker to
>>> use...Compilation
>>> failed with 'gcc'
>>>
>>> C:\Users\ashiva\Documents\GitHub\parrot>
>>>
>>> Please help me resolve this problem.
>>>
>>> Thanks a lot, in advance.
>>>
>>> --
>>> Ashiva
>>>
>>> _______________________________________________
>>> http://lists.parrot.org/mailman/listinfo/parrot-dev
>>>
>>
>>
>>
>> --
>> Will "Coke" Coleda
>
>
> _______________________________________________
> http://lists.parrot.org/mailman/listinfo/parrot-dev
>



--
Jonathan "Duke" Leto <jonathan at leto.net>
Leto Labs LLC http://letolabs.com
209.691.DUKE http://duke.leto.net
@dukeleto


-- 
Jonathan "Duke" Leto <jonathan at leto.net>
Leto Labs LLC http://letolabs.com
209.691.DUKE http://duke.leto.net
@dukeleto


More information about the parrot-dev mailing list