Platinum 0.3.1 released
Posted on November 22, 2006
In response to a comment about the LightSampleTest not working, I fixed it and released Platinum 0.3.1. It actually made me realize that the Renderer Test was probably not working in 0.3.0. So that’s good news, it’s all fixed! I also removed all old source code and project files so as to not confuse people. I’ll try to fix/update the HttpClient and HttpServer Tests when I have more time.
-s
Nov 22, 2006
I’m tried to setup a new cross target called mips-linux-uclibc. I made a Config.scons in
Build/SCons/Targets/mips-linux-uclibc
Config.scons looks as follows:
LoadTool(‘gcc-generic’, env)
env[‘gcc_cross_prefix’] = ‘mips-linux-uclibc’
env[‘gcc_extra_options’] = ‘ -static’
### Neptune System Files
env[‘NPT_SYSTEM_SOURCES’]={‘System/StdC’:’*.cpp’, ‘System/Bsd’:’*.cpp’, ‘System/Posix’:’*.cpp’}
env[‘NPT_EXTRA_LIBS’]=’pthread’
But this does not work, ‘gcc_cross_prefix’ is not used. The only way I found to crosscompile is to modify gcc-generic.py:
def generate(env, gcc_cross_prefix=’mips-linux-uclibc’, gcc_extra_options=”, gcc_relaxed_warnings=False):
But this is not the right way, I think.
What is wrong?
Nov 22, 2006
What you need to do is pass gcc_cross_prefix and gcc_extra_options to LoadTool like this:
LoadTool(‘gcc-generic’, env, gcc_cross_prefix=’mipsel-linux-uclibc’, gcc_extra_options=’-static’)
Nov 23, 2006
Thx, this works
Nov 29, 2006
Cool, what are you working on?
You can email me directly at sylvain at plutinosoft dot com …