targets/Win32/__init__.py
author laurent
Wed, 07 Sep 2011 16:01:13 +0200
changeset 610 00df5b1db283
parent 290 3bd617ae7a05
child 621 a3ce93d63832
permissions -rwxr-xr-x
Disabling definition of enumerated and structure variables for interfacing with PLC in c_ext plug-in
from .. import toolchain_gcc

class Win32_target(toolchain_gcc):
    extension = ".dll"
    def getBuilderLDFLAGS(self):
        return toolchain_gcc.getBuilderLDFLAGS(self) + ["-shared",
                     "-Wl,--export-all-symbols",
                     "-Wl,--enable-auto-import",
                     "-Wl,--whole-archive",
                     "-Wl,--no-whole-archive",
                     "-Wl,--exclude-libs,All"]