i have figured out it should work if src/glsl/builtin_compiler, src/glsl/glcpp/glcpp and src/glsl/glsl_compiler will be buiƶld with $HOST_CC, $HOST_CXX, $HOST_CFLAGS, $HOST_CXXFLAGS and $HOST_LDFLAGS. because some or all three tools are linked with libglsl.a we must build libglsl.a twice (one for host one for target) and build this three tools for host.

Stephan

Am 26.06.2011 10:49, schrieb Jose Fonseca:
I got it working with scons FWIW, but given that scons doesn't build everything yet, that doesn't really help.

Is compiled code code generation really justifiable? Couldn't we just include the sources to builtin_function.cpp, and compile them in runtime?

Jose

------------------------------------------------------------------------

    Hi list,

    Mesa-7.11 still fails on generating builtin_function.cpp with
    crosscompiling. see also
    here:http://lists.freedesktop.org/archives/mesa-dev/2011-May/007527.html

    is there a solution or is crosscompiling tested with actual 7.11
    sources? i think this should be fixed before releasing Mesa.

    thanks

    Stephan

    _______________________________________________
    mesa-dev mailing list
    [email protected]
    http://lists.freedesktop.org/mailman/listinfo/mesa-dev



_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to