-
-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
02398a9
commit b54f665
Showing
2 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## Enable building of libponyc-standalone on MacOS | ||
|
||
We now ship a "standalone" version of libponyc for MacOS. libponyc-standalone allows applications to use Pony compiler functionality as a library. The standalone version contains "all dependencies" needed in a single library. On MacOS, sadly "all dependencies" means "all that can be statically linked", so unlike Linux, dynamically linking to C++ standard library is required on MacOS. | ||
|
||
An example pony program linking against it would need to look like this: | ||
|
||
```pony | ||
use "lib:ponyc-standalone" if posix or osx | ||
use "lib:c++" if osx | ||
actor Main | ||
new create(env: Env) => | ||
None | ||
``` | ||
|