I will try it out to see if it works for me. Now I know how to get the data 
but how can I include this into a Makfile. If this were Perl-code I could use 
MakeMaker but this way I need to do it somehow different. 
By the way -  in which file did you find this example.

Adrian


Am Montag, 7. MÃrz 2005 01:03 schrieb Will Coleda via RT:
> Here's the sample from the perldoc:
>
> .sub _some
>          # store the config data into $P0
>          $P0 = _config()
>          # Retrieve and print a key
>          $P1 = $P0["cc"]
>          print "Your C compiler is "
>          print $P1
>          print "\n"
> .end
> .include "library/config.imc"
>
> Which, when run on my OS X box, gives:
>
> oolong:~/research/parrot coke$ ./parrot foo.imc
> Your C compiler is cc
>
> How's that?
>
> Adrian Lambeck wrote:
> > This might be it - how do I access the data ?
> >
> > Am Sonntag, 6. MÃrz 2005 20:13 schrieb Will Coleda via RT:
> >>Whoops, had already cd'd...
> >>
> >>it's actually in 'runtime/parrot/library/config.imc'
> >>
> >>Is this what you're looking for?
> >>
> >>William Coleda wrote:
> >>>Already exists.
> >>>
> >>>perldoc parrot/library/config.imc
> >>>
> >>>Regards.
> >>>
> >>>Lambeck (via RT) wrote:
> >>>># New Ticket Created by  Lambeck # Please include the string:  [perl
> >>>>#34356]
> >>>># in the subject line of all future correspondence about this issue. #
> >>>><URL: https://rt.perl.org/rt3/Ticket/Display.html?id=34356 >
> >>>>
> >>>>
> >>>>It would be nice to have a module that returns the installed parrot
> >>>>config.
> >>>>Other applications (hopefully a lot) that configure depending on
> >>>>parrot might need this. I mean something like
> >>>>App::Info::HTTPD::Apache
> >>>>(http://search.cpan.org/~dwheeler/App-Info-0.44/).
> >>>>I am not into App::Info so I can not decide what is neccessary to make
> >>>>it return parrot specific values ...
> >>>>
> >>>>
> >>>>Adrian Lambeck

-- 
-----------
Adrian Lambeck
Basics EDV
Feldnerstr. 11
21075 Hamburg
Germany

Tel. 040/788 901 76
E-Mail: [EMAIL PROTECTED]

Reply via email to