Changes between Version 14 and Version 15 of CompilationGuide/WinRT


Ignore:
Timestamp:
Jun 13, 2015, 3:33:59 AM (4 years ago)
Author:
timargo
Comment:

Remove redundant linker flags that are already enabled by default and add missing -APPCONTAINER linker flag for Windows Phone 8.1

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/WinRT

    v14 v15  
    144144--target-os=win32 \
    145145--extra-cflags="-MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00" \
    146 --extra-ldflags="-SAFESEH -NXCOMPAT -APPCONTAINER -DYNAMICBASE WindowsApp.lib" \
     146--extra-ldflags="-APPCONTAINER WindowsApp.lib" \
    147147--prefix=../../../Build/Windows10/Win32
    148148
     
    198198--target-os=win32 \
    199199--extra-cflags="-MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00" \
    200 --extra-ldflags="-NXCOMPAT -APPCONTAINER -DYNAMICBASE WindowsApp.lib" \
     200--extra-ldflags="-APPCONTAINER WindowsApp.lib" \
    201201--prefix=../../../Build/Windows10/x64
    202202
     
    260260--target-os=win32 \
    261261--extra-cflags="-MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP" \
    262 --extra-ldflags="-NXCOMPAT -APPCONTAINER -DYNAMICBASE WindowsApp.lib" \
     262--extra-ldflags="-APPCONTAINER WindowsApp.lib" \
    263263--prefix=../../../Build/Windows10/ARM
    264264
     
    324324--target-os=win32 \
    325325--extra-cflags="-MD -DWINAPI_FAMILY=WINAPI_FAMILY_PC_APP -D_WIN32_WINNT=0x0603" \
    326 --extra-ldflags="-winmd -appcontainer" \
     326--extra-ldflags="-APPCONTAINER" \
    327327--prefix=../../../Build/Windows81/Win32
    328328
     
    374374--target-os=win32 \
    375375--extra-cflags="-MD -DWINAPI_FAMILY=WINAPI_FAMILY_PC_APP -D_WIN32_WINNT=0x0603" \
    376 --extra-ldflags="-winmd -appcontainer" \
     376--extra-ldflags="-APPCONTAINER" \
    377377--prefix=../../../Build/Windows81/x64
    378378
     
    427427--target-os=win32 \
    428428--extra-cflags="-MD -DWINAPI_FAMILY=WINAPI_FAMILY_PC_APP -D_WIN32_WINNT=0x0603 -D__ARM_PCS_VFP" \
    429 --extra-ldflags="-MACHINE:ARM -winmd -appcontainer" \
     429--extra-ldflags="-APPCONTAINER -MACHINE:ARM" \
    430430--prefix=../../../Build/Windows81/ARM
    431431
     
    477477--target-os=win32 \
    478478--extra-cflags="-MD -DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP -D_WIN32_WINNT=0x0603" \
    479 --extra-ldflags="-subsystem:console -opt:ref WindowsPhoneCore.lib RuntimeObject.lib PhoneAppModelHost.lib -NODEFAULTLIB:kernel32.lib -NODEFAULTLIB:ole32.lib" \
     479--extra-ldflags="-APPCONTAINER -subsystem:console -opt:ref WindowsPhoneCore.lib RuntimeObject.lib PhoneAppModelHost.lib -NODEFAULTLIB:kernel32.lib -NODEFAULTLIB:ole32.lib" \
    480480--prefix=../../../Build/WindowsPhone81/Win32
    481481
     
    530530--target-os=win32 \
    531531--extra-cflags="-MD -DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP -D_WIN32_WINNT=0x0603 -D__ARM_PCS_VFP" \
    532 --extra-ldflags="-MACHINE:ARM -subsystem:console -opt:ref WindowsPhoneCore.lib RuntimeObject.lib PhoneAppModelHost.lib -NODEFAULTLIB:kernel32.lib -NODEFAULTLIB:ole32.lib" \
     532--extra-ldflags="-APPCONTAINER -MACHINE:ARM -subsystem:console -opt:ref WindowsPhoneCore.lib RuntimeObject.lib PhoneAppModelHost.lib -NODEFAULTLIB:kernel32.lib -NODEFAULTLIB:ole32.lib" \
    533533--prefix=../../../Build/WindowsPhone81/ARM
    534534