WinCE is using -O3 by default, which includes -finline-functions, which in turn
breaks SCI. By disabling that opimization we get SCI working fine again.
Only applies when using loadable modules.
This requires a second compile run or black voodoo linker tricks.
Not implemented at this time. Disable it, so we get DS build failure
reports from buildbot (which are useful with all the DISABLE_EVERYTHING
defines).
The resulting binary might be too big to be usable.
mt32emu is using floats everywhere, and we don't have hardware-assisted
floating point computations on this armeabi. most (if any) devices can't
handle this
timidity doesn't make sense, because there's no daemon to connect to
Add an object with an empty .ctors and .dtors section to the build
of each plugin. This ensures that there will be an output section
.ctors and one .dtors in the output file (they could be empty though).
If these output sections were to be removed, the symbols defined inside
by the linker script could disappear as well, and we don't want that.
svn-id: r55149
This changes removes the tmpnam warning when building the Sword 2.5 engine.
This fix sets the top level define which is used by engines/sword25/util/lua/luaconf.h to configure the LUA interpreter build, but only for linux* targets.
Other targets may need a similar fix.
Note : LUA_USE_POSIX is used in preference to LUA_USE_LINUX as this causes another warning associated with the dlopen usage.
svn-id: r55130
Following lordhoto's suggestion, I implemented a simple allocator that grabs the size of the biggest available plugin in memory. This is an elegant solution to the fragmentation problem, with the caveat that memory is wasted. As such, it's not suited for the DS, so I added a #define to disable it there.
svn-id: r55009
This merge was extremely difficult to carry out. It wasn't entirely SVN's fault -- there were several merges to the branch that were done by hand. Please check for any issues and regressions. Also note that the DS makefile was not copied over since the "one at a time" plugin mode currently has too much fragmentation ie. it doesn't work.
svn-id: r54051
Lua is very problematic for the PSP build because it wants a) libpng built with the plugins which is not great, but not that bad. b) It calls several PSP functions directly, and it turns out PSP functions can only be called from the main executable -- they're in flash and must be fixed up using custom PSP utils. Until this mechanism is changed so that for example lua calls functions in the main executable, the PSP cannot be built.
The following functions need to be removed/moved to the main executable:
All socket functions (should be disabled anyway)
Clock()
Rename()
Additionally, png functions should ideally also be called only from the main executable.
svn-id: r53615
building sword25
If libtheoradec is missing then the engine still builds if requested, but the
videos will be disabled (note that running the game with videos disabled is
still untested)
svn-id: r53419