[Scons-users] use C++ compiler for building

Matthieu Brucher matthieu.brucher at gmail.com
Fri Dec 28 10:18:33 EST 2012


Hi,

I think you could set env['CC'] = env['CXX']

Cheers,

Matthieu



2012/12/28 Philipp Kraus <philipp.kraus at flashpixx.de>


> Hello,

>

> I build C codes to a shared library with scons, the library codes are

> stored in *.c files and Scons uses the gcc for compiling the library. The

> library is written in plain C and can be build also with a C++ compiler for

> setting some different calls. How can I tell Scons on the env.SharedLibrary

> command, that the C++ compiler should be used.

>

> Thanks

>

> Phil

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>




--
Information System Engineer, Ph.D.
Blog: http://matt.eifelle.com
LinkedIn: http://www.linkedin.com/in/matthieubrucher
Music band: http://liliejay.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20121228/bc484dc3/attachment.htm>


More information about the Scons-users mailing list