Changing the Backend Compiler in DK

Question

How do I change the backend compiler for the current project in DK?

Answer

First ensure the desired compiler is installed and the path is set correctly. Then to change the backend compiler for the current project in DK go to Project>Settings... Then under the Linker Tab change the Simulator DLL command line:

Notes

The path to the DK folder should be changed to reflect your DK installation.

MSVC++

cl /Zm1000 /LD /Oityb1 /GX /I"InstallDir\DK\Sim\Include" /Tp"%1" /Fe"%2" %4

GCC

g++ -dll -shared -fno-builtin -I"InstallDir\DK\Sim\Include" -O2 -mno-cygwin "%1" -o"%2" %4

Topic Areas