[PATCH] pmc2c2

[email protected] (Autrijus Tang) Wed, 11 May 2005 09:19:54 +0800
Newsgroups perl.ponie.dev,perl.ponie.dev
Message-ID <[email protected]>
--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

As of 2005-04-20, pmc2c2.pl is now pmc2c.pl in parrot tree.

This is against:

    http://svn.perl.org/ponie/cvs/trunk/

Any chance of Ponie migrating to SVN soon?

Also, on FreeBSD here "gmake" needs to be used, otherwise $<
does not seem to work.

Finally, build fails with:

          CCCMD =3D  cc -DPERL_CORE -c  -I/home/autrijus/work/ponie/parrot/=
include -I/home/autrijus/work/ponie/src/pmc -DAPPLLIB_EXP=3D"/usr/local/lib=
/perl5/5.8.5/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno=
-strict-aliasing -pipe -I/usr/local/include -g  -Wall
perl.c: In function `perl_alloc':
perl.c:193: warning: implicit declaration of function `ZeroD'
perl.c:193: error: syntax error before "PerlInterpreter"

Not sure whether it's known or not...

Thanks,
/Autrijus/

Index: write_makefile.pl
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- write_makefile.pl	(revision 212)
+++ write_makefile.pl	(working copy)
@@ -43,7 +43,7 @@
 	$Config{ranlib} \$\@
=20
 perl5pmcs.c: $alldumps;
-	\$(PERL) $parrotdir/classes/pmc2c2.pl --library perl5pmcs --c $allpmcs
+	\$(PERL) $parrotdir/build_tools/pmc2c.pl --library perl5pmcs --c $allpmcs
=20
 perl5pmcs$Config{_o}: perl5pmcs.c
 perl5pmcs.h: perl5pmcs.c
@@ -61,10 +61,10 @@
   print <<"EOSNIP";
=20
 perl5$_.dump: perl5$_.pmc
-	\$(PERL) $parrotdir/classes/pmc2c2.pl --include=3D../src/pmc --dump perl5=
$_.pmc
+	\$(PERL) $parrotdir/build_tools/pmc2c.pl --include=3D../src/pmc --dump pe=
rl5$_.pmc
=20
 perl5$_.c: $alldumps
-	\$(PERL) $parrotdir/classes/pmc2c2.pl --c perl5$_.pmc
+	\$(PERL) $parrotdir/build_tools/pmc2c.pl --c perl5$_.pmc
=20
 perl5$_$Config{_o}: perl5$_.c
 EOSNIP

--FL5UXtIhxfXey3p5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFCgV26tLPdNzw1AaARAgrLAJ4wRot28r2qryQFpU+GFggksBZ4/wCdGPHi
v3TPdlKdG59xov7ASMV82JE=
=BhPC
-----END PGP SIGNATURE-----

--FL5UXtIhxfXey3p5--