I've been working on this when I had a lot more free time available, but it seems that I don't have time anymore to push this forward, and it will probably be getting worse in the upcoming months. So it's time to give this work to the community, in case anyone wants to continue where I left off.
This patch is the result of a work in progress in my attempt to port Webkit/JSC to Irix (mipspro), in various states :
- The Qt part should be clean enough to package a neko Qt 4.8.2
- The Webkit/Webcore part may need some rework/cleaning, but up to now I never had issues with Webcore itself
- The Webkit/JavaScriptCore part is where most of problems remains, and is in a heavy "work in progress state"
I used the following configure line :
Code:
./configure --prefix=/usr/nekoware/qt4 -verbose -platform irix-cc -debug -webkit -graphicssystem opengl -nomake examples
A few "out of my head" comments :
- The OpenGL graphics system should be a great feature on Irix. But it does not seem to enable itself at runtime, not sure exactly why, I didn't investigate much
- The libQtWekbit.so can be used with the qt demo browser. Arora also builds just fine, and should be a nice modern browser for Irix
- Linking the whole libQtWebkit can be difficult (see
here for details). In my case, the quickfix was to strip the WebCore objects before linking (this is the biggest part of the library, and as I never had a runtime problem with it, stripping the objects shouldn't cause any problems).
- JavaScriptCore can be built as a full interpreter, but there is also JIT code for mips processors. Unfortunately, this code targets little endian and the O32 ABI, and uses gcc inline assembler. To enable/disable mips JIT, see the ENABLE_JIT define in JavaScriptCore/wtf/Platform.h and (un)comment the defined(_ABIO32) preprocessor condition.
- There is various "XXXX" comments in JSC code, these are hacks for my debug in progress and should be removed (see patch)
- It's easier to debug and faster to build the JSC library without the whole WebKit/WebCore stuff, so I used a script to build the jsc command line executable, that is not build by default.
That's all I can think of for now, questions or comments are welcome in this thread or by pm.