develooper Front page | perl.perl6.internals | Postings from November 2009

Re: Compiler Toolkit

Thread Previous
From:
Ovid
Date:
November 24, 2009 07:43
Subject:
Re: Compiler Toolkit
Message ID:
519952.40084.qm@web65710.mail.ac4.yahoo.com
----- Original Message ----

> From: François Perrad <francois.perrad@gadz.org>

> the mantra is :
> $ parrot setup.pir
> $ parrot setup..pir test

After successfully building and installing Parrot on my Mac, the "parrot setup.pir" still fails badly.

parrot $ parrot --version
This is Parrot version 1.8.0-devel built for i386-darwin.
Copyright (C) 2001-2009, Parrot Foundation.

This code is distributed under the terms of the Artistic License 2.0.
For more details, see the full text of the license in the LICENSE file
included in the Parrot source tree.

parrot  $ perl tools/dev/mk_language_shell.pl checkit
creating checkit/
creating checkit/README
creating checkit/Configure.pir
creating checkit/setup.pir
creating checkit/PARROT_REVISION
no ops: skipping checkit/src/ops/Makefile.in
no pmc: skipping checkit/src/pmc/Makefile.in
creating checkit/Makefile.in
no doc: skipping checkit/doc/checkit.pod
no doc: skipping checkit/doc/running.pod
no dynext: skipping checkit/dynext/.ignore
creating checkit/checkit/
creating checkit/checkit/.ignore
creating checkit/checkit.pir
creating checkit/src/
creating checkit/src/checkit.pir
creating checkit/src/parser/
creating checkit/src/parser/grammar.pg
creating checkit/src/parser/grammar-oper.pg
creating checkit/src/parser/actions.pm
no pmc: skipping checkit/src/pmc/checkit.pmc
no ops: skipping checkit/src/ops/checkit.ops
creating checkit/src/builtins.pir
creating checkit/src/builtins/
creating checkit/src/builtins/say.pir
creating checkit/t/
creating checkit/t/00-sanity.t
parrot  $ cd checkit/
checkit  $ ls
Configure.pir   PARROT_REVISION checkit         setup.pir       t
Makefile.in     README          checkit.pir     src
checkit  $ parrot setup.pir 
/usr/local/bin/parrot
/usr/local/lib/parrot/1.8.0-devel/library/PGE/Perl6Grammar.pbc
--output=src/gen_grammar.pir  src/parser/grammar.pg
src/parser/grammar-oper.pg
/usr/local/bin/parrot
/usr/local/lib/parrot/1.8.0-devel/languages/nqp/nqp.pbc --target=pir
--output=src/gen_actions.pir  src/parser/actions.pm
/usr/local/bin/parrot -o xyz/xyz..pbc src/xyz.pir
Error reading source file src/xyz.pir.
/usr/local/bin/parrot -o xyz.pbc xyz.pir
Error reading source file xyz.pir.
/usr/local/bin/pbc_to_exe xyz.pbc --install
Unable to open filehandle from path 'xyz.pbc'
current instr.: 'generate_code_gcc' pc 496 (tools/dev/pbc_to_exe.pir:298)
called from Sub 'main' pc -1 ((unknown file):-1)
strip installable_xyz
strip: can't open file: installable_xyz (No such file or directory)

 
Cheers,
Ovid
--
Buy the book         - http://www.oreilly..com/catalog/perlhks/
Tech blog            - http://use.perl.org/~Ovid/journal/
Twitter              - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About