targets/Win32/__init__.py
author etisserant
Wed, 14 Jan 2009 16:41:14 +0100
changeset 290 3bd617ae7a05
parent 203 cb9901076a21
child 621 a3ce93d63832
permissions -rwxr-xr-x
Local Runtime (LOCAL://) now launched "on demand"
Added Graphical Python shell in Tray Icon menu
Fixed some missing __DEBUG variable assignement
More generic per target LDFLAGS and CFLAGS
203
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     1
from .. import toolchain_gcc
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     2
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     3
class Win32_target(toolchain_gcc):
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     4
    extension = ".dll"
290
3bd617ae7a05 Local Runtime (LOCAL://) now launched "on demand"
etisserant
parents: 203
diff changeset
     5
    def getBuilderLDFLAGS(self):
3bd617ae7a05 Local Runtime (LOCAL://) now launched "on demand"
etisserant
parents: 203
diff changeset
     6
        return toolchain_gcc.getBuilderLDFLAGS(self) + ["-shared",
203
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     7
                     "-Wl,--export-all-symbols",
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     8
                     "-Wl,--enable-auto-import",
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     9
                     "-Wl,--whole-archive",
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
    10
                     "-Wl,--no-whole-archive",
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
    11
                     "-Wl,--exclude-libs,All"]