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

Add support for windows #13

Closed
Brools opened this issue Jul 3, 2018 · 2 comments
Closed

Add support for windows #13

Brools opened this issue Jul 3, 2018 · 2 comments

Comments

@Brools
Copy link

Brools commented Jul 3, 2018

Excellent work! I very much enjoyed the online simulator.
I tried to install locally on windows 10, but it fails in libmbed.js when trying to spawn emcc process.
emcc is in my path and emcc calls works from cmd line. It gives a NOENT error.
When changing the line to
let cmd = spawn('emcc.bat', args);
It finds the emcc.bat, but now complains on the long input (args is very long).
This comes down to windows limits. I found the following emcc.bat command line too long
I dont have much experience with nodejs, but it is possible to stream the args to the process through stdin?
I guess that also depends on emcc.

@janjongboom
Copy link
Owner

@Brools thanks for the report; will see what I can do.

@janjongboom
Copy link
Owner

Fixed in e5ff2b6 and released under v1.4.0 in npm!

micque01 pushed a commit to ARMmbed/mbed-simulator that referenced this issue Sep 13, 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