Hi all,

Am 10.12.2009 17:36, schrieb José Fonseca:
> 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.
>>      
>    
is there also an solution for building without scons?

i am get the follow when i am crosscompile for x86_64 target with i386 host:

gmake[3]: Entering directory 
`/home/stephan/projects/openelec/build.OpenELEC-intel_x64.x86_64.devel/Mesa-master-20100108/src/mesa/shader/slang/library'
../../../../../src/glsl/apps/compile fragment slang_common_builtin.gc 
slang_common_builtin_gc.h
../../../../../src/glsl/apps/compile: 
../../../../../src/glsl/apps/compile: cannot execute binary file
gmake[3]: *** [slang_common_builtin_gc.h] Error 126
gmake[3]: Leaving directory 
`/home/stephan/projects/openelec/build.OpenELEC-intel_x64.x86_64.devel/Mesa-master-20100108/src/mesa/shader/slang/library'
gmake[2]: *** [glsl_builtin] Error 1
gmake[2]: Leaving directory 
`/home/stephan/projects/openelec/build.OpenELEC-intel_x64.x86_64.devel/Mesa-master-20100108/src/mesa'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory 
`/home/stephan/projects/openelec/build.OpenELEC-intel_x64.x86_64.devel/Mesa-master-20100108/src'
make: *** [default] Error 1

> 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
>
>    


-- 
               ### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you
              http://www.openelec.tv


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to