[Bf-committers] Compiling for Solaris with Sun CC, next round

Vladimír Marek vlmarek at volny.cz
Thu Aug 23 13:47:36 CEST 2007


Hi,

One of problems with $SUBJ is that scons is using for linking
"c compiler". However blender is using c++ source code. This apparently
is not a problem for gcc, but Sun CC needs to use "c++ compiler" for
linking.

In other words, I have
CC=cc
CXX=CC
scons BF_QUIET=0
...
cc -lsocket -library=stlport4 -R/usr/lib/intltool/gettext-tools/lib
-R/blender -o /store/rcs/build/sunos5/bin/blender ...

And the command fails

When I copy&paste the last command displayed and change cc->CC

CC -lsocket -library=stlport4 -R/usr/lib/intltool/gettext-tools/lib
-R/blender -o /store/rcs/build/sunos5/bin/blender ...

It links the binary fine.

SCons masters, is there some way to force usage of "c++ complier" for
linking ?

Should I file bug for this ?

Thank you

-- 
	Vlad


More information about the Bf-committers mailing list