[Scons-users] use C++ compiler for building
William Deegan
bill at baddogconsulting.com
Fri Dec 28 12:54:38 EST 2012
On Dec 28, 2012, at 7:15 AM, Philipp Kraus <philipp.kraus at flashpixx.de> wrote:
> 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.
To clarify, you're asking how do you get .c files compiled via g++ instead of gcc?
-Bill
More information about the Scons-users
mailing list