-
Notifications
You must be signed in to change notification settings - Fork 176
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
mbed complie can't find ARM complier 6 in the PATH with quotes #875
Comments
@jamesbeyond This looks like it might be a bug with windows environment variables. What does |
Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-1049 |
Hi @theotherjimmy,
Which also include the quotes in the PATH Variable |
@jamesbeyond Then don't use quotes in the path variable. |
Hi @theotherjimmy,
our customer will be struggle to find-out what went wrong with mbed-cli, as it is complains it can't find |
It's quite common to wrap paths in Windows with quotes, so I'm with @jamesbeyond on this one. I don't think it should be to difficult to strip the quotes. @jamesbeyond I can't work on a solution right this second due to activities around the upcoming release. However if you have time (and are motivated 😄) I'd be happy to point you in the direction for a patch. I think the appropriate place to do the proper clean up of toolchain paths would happen here: https://github.com/ARMmbed/mbed-os/blob/e69aa15aea92a6d7803280fde2dd9682fb8b0d92/tools/settings.py#L102. You would want to loop over the paths similar to what is done above and do the proper normalization. |
Fix up here: ARMmbed/mbed-os#10333 |
Description
While using mbed-cli with ARMC6. I found a strange behaviour.
based on this doc, I can just put ARMC6 in the system PATH env var, then use it from there.
mbed compile -t ARM -m K64F
If I do
set PATH=%PATH%;c:\Program Files\ARMCompiler6.11\bin
mbed compile runs just fine. however if I run with quotes around ARMC6 bins
set PATH=%PATH%;"c:\Program Files\ARMCompiler6.11\bin"
mbed compile fail to detect ARMC6
and throw errors:
In both of the SET methods, armclang runs absolutely fine.
mbed-cli version 1.9.2 are used.
Issue request type
The text was updated successfully, but these errors were encountered: