Kevin Tew a écrit :
The merge has happened.
The following patch adds NCIGEN in the documentation (HTML generated).
Note : needs a better title than 'Native Call Interface Generator'.
François.
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.
Regression test cases will be appreciated. :)
I'll try to be available until 3:00pm MDT and later this evening
9:00pmMDT -> until my eyelids close.
NOTE:
Jitted nci stubs are supported now on i386 linux and win32.
However jitted nci stubs are DISABLED by default.
Once we have this initial merge completed and everyone happy, I will
enable jitted nci stubs as the default, accompanied by another message
to parrot-porters
If you want to test jitted nci stubs uncomment tools/build
cs/nativecall.pl:308, make realclean, rinse, etc
Jitted nci stubs for x86_64 and i386 OSX are in the works but not
present in this current merge.
i386 OSX doesn't work with the current patch because it requires a 16
byte aligned stack.
Don't worry, by default configure disables jit on OSX.
Things that have changed under the covers:
1) a new makefile is being generated
+++ config/gen/makefiles.pm (working copy)
@@ -41,6 +41,8 @@
conditioned_lines => 1,
},
+ 'compilers/ncigen/Makefile' =>
+ { SOURCE => 'compilers/ncigen/config/makefiles/ncigen.in' },
2) nci c function stub generation has changed slightly
Kevin
Index: lib/Parrot/Docs/Section/Compilers.pm
===================================================================
--- lib/Parrot/Docs/Section/Compilers.pm (revision 30562)
+++ lib/Parrot/Docs/Section/Compilers.pm (working copy)
@@ -48,6 +48,7 @@
$self->new_group( 'BCG', 'Byte Code Generation',
'compilers/bcg' ),
$self->new_group( 'JSON', 'JavaScript Object Notation',
'compilers/json' ),
$self->new_group( 'PIRC', 'a PIR Compiler',
'compilers/pirc' ),
+ $self->new_group( 'NCIGEN', 'Native Call Interface Generator',
'compilers/ncigen' ),
);
}