Skip to content
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

ponyc -l fails to generate static library on windows #2222

Closed
ghost opened this issue Sep 7, 2017 · 0 comments
Closed

ponyc -l fails to generate static library on windows #2222

ghost opened this issue Sep 7, 2017 · 0 comments
Assignees

Comments

@ghost
Copy link

ghost commented Sep 7, 2017

following along with https://bluishcoder.co.nz/2015/12/16/c-linkable-libraries-with-pony.html

I tried to compile the following on windows 10 with ponyc -l

actor@ Foo
  new create() =>
    None

  be hi() =>
    @printf[I32]("Hi\n".cstring())

And I get the following output:

C:\Users\jesse\source\ponytest>ponyc -l
Building builtin -> C:\Users\jesse\ponyc\packages\builtin
Building . -> C:\Users\jesse\source\ponytest
Generating
 Library reachability
 Selector painting
 Data prototypes
 Data types
 Function prototypes
 Functions
 Descriptors
Optimising
Writing .\ponytest.obj
Archiving .\ponytest.lib
The filename, directory name, or volume label syntax is incorrect.

C:\Users\jesse\source\ponytest>ponyc --version
0.19.0-35d7757 [release]
compiled with: llvm 3.9.1 -- msvc-14-x64

No object code or library archive are actually generated. Only ponytest.h.

@chalcolith chalcolith self-assigned this Sep 7, 2017
chalcolith added a commit to chalcolith/ponyc that referenced this issue Sep 8, 2017

Verified

This commit was signed with the committer’s verified signature.
ronnnnn Seiya Kokushi
The compiler was not allocating a big enough buffer for the linker command line on Windows.  This change makes it allocate more than enough space.

Fixes ponylang#2222.
@jemc jemc closed this as completed in #2223 Sep 8, 2017
jemc pushed a commit that referenced this issue Sep 8, 2017
)

The compiler was not allocating a big enough buffer for the linker command line on Windows.  This change makes it allocate more than enough space.

Fixes #2222.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants