On 8/22/2013 20:00, Andy Dougherty wrote:
I have attached an updated set of patches I used to build MoarVM.
These worked on both Solaris11/x64 and on OpenBSD 5.3. They also
seemed to cause no harm under Linux.
The patches were made with git format-patch, but to avoid possible
corruption through the mail, I am attaching them. The subjects are:
[PATCH 1/5] Remove nonportable conditional commands from Makefile.in
[PATCH 2/5] Make the endianness tests more robust.
[PATCH 3/5] Fix mismatched types in sprintf in src/core/exceptions.c
[PATCH 4/5] Add build/setup.pm section for Solaris with Solaris cc.
[PATCH 5/5] Avoid 'make -C'. Use a simple cd instead.
Additional details are in the commit messages.
Thanks for the patches. I've applied all but [PATCH 2/5] (the endianness
handling was changed more radically; hopefully what was done works out
OK on Solaris also). Builds fine on Windows with these applied.
I have not gotten nqp to build yet, but hope to get to that next time.
The NQP build that is currently done in nqp-cc is a temporary thing, so
I'd not spend time on it. It's a Parrot-based cross-compiler that we're
using to get NQP bootstrapped atop of MoarVM. Once that is achieved
(hopefully within the next month or two) it will go away; building NQP
on MoarVM will simply need a build of MoarVM.
Thanks,
Jonathan