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

(cat rts.c; ./vm run effectively.hs) > lonely.c is waiting for stdin? #5

Closed
tommythorn opened this issue Jun 21, 2021 · 2 comments
Closed

Comments

@tommythorn
Copy link
Contributor

Ben, this is an amazing project that I'm still wrapping my head around.

I spotted a curious issue Ubuntu 21.04/x86_64 which might be a documentation issue. The README.adoc has

  $ (cat rts.c; ./vm run effectively.hs) > lonely.c
  $ cc -O2 lonely.c -o lonely

but AFAICT, the first command is waiting for stdin. (Giving in an ^D makes it proceed).

@blynn
Copy link
Owner

blynn commented Jul 27, 2021

Thanks!

Yes, this is a documentation issue that I'll fix soon. I didn't copy and paste from the Makefile correctly. It should be (cat rts.c; ./vm run effectively.hs < lonely.hs) > lonely.c.

@blynn
Copy link
Owner

blynn commented Jul 27, 2021

Just pushed the fix.

@blynn blynn closed this as completed Jul 27, 2021
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