-
-
Notifications
You must be signed in to change notification settings - Fork 415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build ponyc-standalone.lib for windows #4307
Conversation
4fa9bd7
to
eccd7b9
Compare
Hi @mfelsche, The changelog - added label was added to this pull request; all PRs with a changelog label need to have release notes included as part of the PR. If you haven't added release notes already, please do. Release notes are added by creating a uniquely named file in the The basic format of the release notes (using markdown) should be:
Thanks. |
@mfelsche can you add release notes for this that mirror the final version of the MacOS release notes except for Windows? Then this should be good to merge. |
as a standalone variant of libponyc. It contains blake2, LLVM libs and libponyc. It does not (to my knowledge) contain any static system libraries yet, but pony programs linked against it, work fine as is.
eccd7b9
to
d3f26ea
Compare
|
||
```pony | ||
use "lib:ponyc-standalone" if posix or osx or windows | ||
use "lib:c++" if osx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is a libc++ not needed for windows? are we statically linking one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, those are always statically linked. I was testing this successfully on my Windows 10 machine.
Build ponyc-standalone.lib for windows as a standalone variant of libponyc. It contains blake2, LLVM libs and libponyc.
It does not (to my knowledge) contain any static system libraries yet, but pony programs linked against it, work fine as is.
Linking to it from a pony program is done in the exact same way as for the other supported platforms: