I just finished up a FreeBSD port of v8. It runs the complete test suite without error, and passes presubmit.py --no-lint.
It occured to me while doing it, that it would be a good idea to abstract out most of the common code between Linux and FreeBSD (and probably OS X too) into a platform-posix.cc file, and then have Linux, FreeBSD, and maybe OS X simply inherit from that class and change and/or add to it for the few differences. I basically copied platform-linux and changed about 8 things. Anyway, thanks for the great VM, and I hope this patch is acceptable, or at least we can beat it into shape! http://www.alexbl.org/~alexbl/v8-freebsd.diff --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
