Install languages

François Perrad francois.perrad at gadz.org
Fri Feb 20 09:14:46 UTC 2009


Allison, Reini,

Before applying to existing languages, could you review my work on
tools/dev/mk_languages_shell.pl (r36888-36892) ?
Is it compliant with what we want (pdd30_install) ?

 $ perl tools/dev/mk_languages_shell.pl Xyz
 $ make -C languages/xyz
 $ make -C languages/xyz test
 $ make -C languages/xyz install

I've some remarks :
1) the logic that creates path with version, is duplicate :
 - install_files.pl lines 145-147
 - install_dev_files lines 91-93
 - mk_languages_shell.pl lines 191-193
The right place seems to be in config/init/install.pm

2) pbc_to_exe --install adds a prefix installable_, but for languages
we need parrot- as prefix.
The prefix installable_ is fine for parrot, pbc_dump, all that comes
from C, but not from pbc.

3) for languages with PMC or Ops, I wait for dynpmc.pl & dynoplibs.pl
deprecation.

François.


More information about the parrot-dev mailing list