On Thu, 2009-12-10 at 08:31 -0800, Jose Fonseca wrote: > Module: Mesa > Branch: glsl-pp-rework-2 > Commit: 491f384c3958067e6c4c994041f5d8d413b806bc > URL: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=491f384c3958067e6c4c994041f5d8d413b806bc > > Author: José Fonseca <jfons...@vmware.com> > Date: Thu Dec 10 16:29:04 2009 +0000 > > scons: Get GLSL code building correctly when cross compiling. > > This is quite messy. GLSL code has to be built twice: one for the > host OS, another for the target OS.
Michal, I managed to get linux->windows cross compilation working again, but it was *very* complicated, because src/glsl/{pp,cl} has to be built twice -- one for the host os, another for the target os --, therefore we must ensure the .o and .a files are stored in different places. It's really messy and ugly, and any Linux distribution which uses cross compilers as part of their build process will have a hard time to package this. Is this absolutely necessary? Jose ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev