Hi,
On Aug 31, 10:30 am, Søren Gjesse <[email protected]> wrote:
> Hi,
>
> To me it looks like you have reverted the change in src/jsregexp.cc from
> r5298 <http://code.google.com/p/v8/source/detail?r=5298> to make it compile.
>
I'm sorry about that. Yes, it appears that I did partially revert it.
My changes were slightly different though:
- "src/runtime.cc" was not changed
(r5298 not reverted)
- "src/jsregexp.h" was changed
(similar to type changes in "src/jsregexp.cc")
- "src/jsregexp.cc" was changed
(r5298 reverted, and also the change shown below)
Index: src/jsregexp.cc
===================================================================
--- src/jsregexp.cc (revision 5374)
+++ src/jsregexp.cc (working copy)
@@ -384,7 +384,7 @@
Handle<JSRegExp> regexp,
Handle<String> subject,
int index,
- Vector<int32_t> output) {
+ Vector<int> output) {
Handle<FixedArray> irregexp(FixedArray::cast(regexp->data()));
ASSERT(index >= 0);
I'm very sorry if this has caused any frustration, but it seems to
work.
>
> Regarding platform-nullos.cc you will have to copy it to platform-minix.cc
> and implement all the functions as mostly just unimplemented stubs. You can
> take a look in the other platform-XXX.cc files for implementations for other
> operating systems.
>
Thank you! I've started doing this.
>
> Also instead of setting CC and CXX in src/SConscript you should set them up
> in the environment. I use a script like this when cross compiling for ARM.
>
> export
> TOOL_PREFIX=/opt/crosstool/gcc-4.3.2/arm-unknown-linux-gnueabi/bin/arm-unkn
> own-linux-gnueabi
> export CXX=$TOOL_PREFIX-g++
> export AR=$TOOL_PREFIX-ar
> export RANLIB=$TOOL_PREFIX-ranlib
> export CC=$TOOL_PREFIX-gcc
>
Okay, I'll keep this in mind and make changes to my setup.
>
> Regards,
> Søren
Unless I'm accidentally skipping problems, I'm now working on
"platform-minix.cc," and I have issues with "NONE" due to a conflict
between a MINIX-specific header and "src/objects.h."
Thank you,
pikpik
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users