Kevin Tew schrieb:
The merge has happened.

Developers/Users should see no visible changes.
Please build and test, should you have any problems, just yell at me on #irc or parrot-porters.

Some options are still not implemented.
Attached patch does that.

The makefile has also still the C_GROUP in it. This should be removed and all references to PMC. I did that in my 56554-make-install-lang.patch

Another question:
May I convert the nci_gen.pl to pir? I want a ncigen.pbc.

--
Reini Urban
http://code.google.com/p/cygwin-rurban/source/browse/trunk/release/parrot/patches

diff -bu compilers/ncigen/nci_gen.pl~ compilers/ncigen/nci_gen.pl
--- compilers/ncigen/nci_gen.pl~	2008-08-22 23:10:02.406250000 +0000
+++ compilers/ncigen/nci_gen.pl	2008-08-23 08:03:04.437500000 +0000
@@ -12,10 +12,12 @@
 my $man = 0;
 my $help = 0;
 my $PARROT = "../../parrot";
-my $incpaths;
+my ($incpaths,$libname,$nsname);
 
 GetOptions('help|?' => \$help, 
             man     => \$man,
+	   libname  => \$libname,
+	   nsname   => \$nsname,
             "I=s@"  => \$incpaths) or pod2usage(2);
 pod2usage(1) if $help;
 pod2usage(-exitstatus => 0, -verbose => 2) if $man;
@@ -49,9 +51,11 @@
   my $more_args = "";
   unless ( $ARGV[0] ) {
     $ARGV[0] = 't/spi.c' unless $ARGV[0];
+    $libname = "fred" unless $libname;
+    $nsname = "GO::Mojo" unless $nsname;
   }
   #$more_args = "--target=parse --libname=fred --nsname=GO::Mojo";
-  $more_args = "--libname=fred --nsname=GO::Mojo";
+  $more_args = "--libname=$libname --nsname=$nsname";
 
   my $preproc_fn = cc_preprocess($ARGV[0]);
 

Reply via email to