Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

pmc2c.pl --dump : What Files Does Makefile Supply as @ARGV

55 views
Skip to first unread message

James E Keenan

unread,
Nov 22, 2006, 7:04:40 PM11/22/06
to perl6-i...@perl.org
And now, a question about how the Parrot Makefile utilizes pmc2c.pl ...

The Makefile calls:

PMC2CD = $(PERL) $(BUILD_TOOLS_DIR)/pmc2c.pl --dump

... which inside pmc2c.pl translates into:

dump_pmc(\@include, @ARGV);

What kind of files does the Makefile place in @ARGV?

I need to figure this out in order to provide plausible arguments to
dump_pmc() as I test and refactor it as part of testing pmc2c.pl.

Thank you very much.

kid51

Chromatic

unread,
Nov 22, 2006, 7:16:15 PM11/22/06
to perl6-i...@perl.org, James E Keenan

I don't see anything in the Makefile except for the F<.pmc> files in
F<src/pmc/>. See for example the rule:

src/pmc/undef.dump : vtable.dump src/pmc/default.dump lib/Parrot/Pmc2c.pm \
src/pmc/undef.pmc
$(PMC2CD) src/pmc/undef.pmc

-- c

0 new messages