Reputation: 5016
I want to compile a static v8 build to use on an embedded device.
The company that creates the device has given us a cross-compiler based on cygwin (the device uses a Linux-based OS), so that we can write and compile code on the windows platform, before transfering it to the device.
All tutorials I have seen for compiling V8 compiles on an arm system (like scratchbox) unless they are targeting the arm simulator. Would it be technically possible to just compile V8 as if I was compiling it for windows, only using the custom cygwin compiler that we ourselves use for compiling?
Upvotes: 0
Views: 956
Reputation: 5016
Apperantly, the provided cygwin compiler really was custom tailored for our devices. They even removed the math.h library, and added custom malloc/free as well as io functions. After a lot of effort, I managed to get a modified version of Lua to run on our platform, and I guess that's as good as it gets. Lua wins!
Upvotes: 1