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

A compiler release for windows #762

Closed
omern1 opened this issue Jun 8, 2015 · 14 comments
Closed

A compiler release for windows #762

omern1 opened this issue Jun 8, 2015 · 14 comments

Comments

@omern1
Copy link

omern1 commented Jun 8, 2015

When are you planning to release a compiler for windows?

@asterite
Copy link
Member

There's currently no one in the core team working on this, sorry. Also read this: https://groups.google.com/forum/?fromgroups#!topic/crystal-lang/grBVugVCHm0

@omern1
Copy link
Author

omern1 commented Jun 22, 2015

@asterite Can I make the compiler output ASM?

@asterite
Copy link
Member

@nabeelomer Yes, do --emit asm

@omern1
Copy link
Author

omern1 commented Jun 22, 2015

@asterite Somebody working on a Windows release now?

@asterite
Copy link
Member

@nabeelomer Not really. There's this, but we never merged it or tested it well, plus it's missing a lot of things.

@omern1
Copy link
Author

omern1 commented Jun 23, 2015

@asterite I read issue #26. If you can give me some kind of a 'compiler frontend' for Crystal, I think I will be able to make it work.

@stephan-nordnes-eriksen

@asterite You say I can run "--emit asm". Where can I do this? If I am able to get the asm, I might be able to convert that into an .exe and boostrap the compiler somehow.

@jhass
Copy link
Member

jhass commented Oct 11, 2015

This is really not about crosscompiling but about getting stdlib compatible.

@stephan-nordnes-eriksen

@jhass Maybe I am just naive, but how is it not about cross compiling? Wouldn't it be solved by something like mingw?

@refi64
Copy link
Contributor

refi64 commented Oct 11, 2015

@stephan-nordnes-eriksen I issue is simply that the Crystal standard library doesn't work on Windows. So, it couldn't even possibly compile.

@jhass
Copy link
Member

jhass commented Oct 12, 2015

@stephan-nordnes-eriksen cross compiling is there, did you follow my link? stdlib is not there.

@omern1
Copy link
Author

omern1 commented Oct 12, 2015

@jhass You could release only the compiler and not the library for Windows (we'll call the Windows API for every thing).

@jhass
Copy link
Member

jhass commented Oct 12, 2015

@nabeelomer no, the compiler itself heavily relies on stdlib.

@ozra
Copy link
Contributor

ozra commented Oct 12, 2015

I'll just add a direct link here for reference: https://github.com/xwanderer/crystal/tree/win32/win32
Doesn't seem to have been touched for a few months though.
@nabeelomer - maybe you want to pick up the port? B-)

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

6 participants