Skip to content

Commit

Permalink
factorial: fix Windows build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Jun 9, 2014
1 parent 889e2c5 commit f8bbab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/factorial/README.md
Expand Up @@ -13,7 +13,7 @@ $ gcc -shared -fpic factorial.c -o libfactorial.so
To compile `libfactorial.dll` on Windows (http://stackoverflow.com/a/2220213):

``` bash
$ cl.exe /D_USRDLL /D_WINDLL factorial.c /link /DLL /Felibfactorial.dll
$ cl.exe /D_USRDLL /D_WINDLL factorial.c /link /DLL /OUT:libfactorial.dll
```

To run the example:
Expand Down

0 comments on commit f8bbab5

Please sign in to comment.