Skip to content

Commit c1b80b7

Browse files
authored
Update readme
1 parent c1d120d commit c1b80b7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ GNUstep Windows MSVC Toolchain
44

55
[![CI](https://github.com/gnustep/tools-windows-msvc/actions/workflows/ci.yml/badge.svg)](https://github.com/gnustep/tools-windows-msvc/actions/workflows/ci.yml?query=branch%3Amaster)
66

7-
8-
This project comprises a collection of scripts to build a modern GNUstep toolchain (with support for blocks and ARC) for the Windows MSVC ABI. The toolchain can then be used to integrate Objective-C code in any Windows app (without using MinGW).
7+
This project comprises a collection of scripts to build a modern GNUstep toolchain, with support for blocks and Automatic Reference Counting (ARC), using Clang and the Visual Studio toolchain with the MSVC ABI. The toolchain can then be used to integrate Objective-C code in any Windows app, without using MinGW.
98

109
Libraries
1110
---------
@@ -72,7 +71,7 @@ When building in a Bash environment (like an MSYS2 shell), the `gnustep-config`
7271
The `clang-cl` driver can also be used to build Objective-C code, but requires prefixing some of the options using the `-Xclang` modifier to pass them directly to Clang:
7372

7473
# build test.m to produce an object file test.obj
75-
clang-cl -I C:\GNUstep\x64\Debug\include -fobjc-runtime=gnustep-2.0 -Xclang -fexceptions -Xclang -fobjc-exceptions -fblocks -DGNUSTEP_WITH_DLL /MDd /c test.m
74+
clang-cl -I C:\GNUstep\x64\Debug\include -fobjc-runtime=gnustep-2.0 -Xclang -fexceptions -Xclang -fobjc-exceptions -fblocks -DGNUSTEP -DGNUSTEP_WITH_DLL -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -D_NATIVE_OBJC_EXCEPTIONS -DGSWARN -DGSDIAGNOSE /MDd /c test.m
7675

7776
# link object file into executable
7877
clang-cl test.obj gnustep-base.lib objc.lib dispatch.lib /MDd -o test.exe

0 commit comments

Comments
 (0)