binaries: can't run if the path contains whitespace
Bug #894528 reported by
Michael Hope
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Toolchain Binaries |
Fix Released
|
Wishlist
|
Zhenqiang Chen |
Bug Description
If the Windows binary is installed under Program Files or some other directory containing spaces then GCC fails with "CreateProcess: No such file or directory."
You should be able to run GCC from anywhere.
From Bernard:
"""Cannot run tools from the path if they are installed into a path that contains spaces, or if I stick with the top-level dir name in the tarball, presumably because of the + and/or ~. Gives "arm-linux-
affects: | gcc-linaro → linaro-toolchain-binaries |
To post a comment you must log in.
Maybe test environment issue, my cygwin might report such errors. But after close and restart cygwin, it works.
I can not re-produce it with the following steps on cygwin: people. linaro. org/~michaelh/ incoming/ binaries/ arm-linux- gnueabi- 2012.01- 20120112~ win32 to win32.
(1) get binary from http://
(2) create a new dir "New folder" and cp the binaries to "New floder"
(3) change the top-level name gcc-linaro-
//I try both with and without rename. Both work.
(4) cd New\ foler/win32/bin gnueabi- gcc hello.c //no error bin/arm- linux-gnueabi- gcc ./New\ foler/win32/ bin/hello. c // no error
(5) ./arm-linux-
(6) cd ../../../
(7) ./New\ foler/win32/