binaries: on unzip, top-level dir contains Windows-hostile characters

Bug #921526 reported by Bernie Ogden
This bug report is a duplicate of:  Bug #921367: mingw make can't find GCC. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Toolchain Binaries
New
Undecided
Unassigned

Bug Description

Windows appears to dislike both '~' and '+' characters. This can be awkward to work with on a Windows cmd prompt, but is OK so long as you enquote the directory name. Spun out from bug 894528 as that is really about the more serious problem of not running from a path that contains spaces. This is more of a mild pain that should be fixed if it is convenient to format the version string differently.

Examples:

1) Copy/paste of path fails:
C:\>copy C:\linarogcc\gcc-linaro-arm-linux-gnueabi-2012.01-20120112+bzr2336~win3
2\arm-linux-gnueabi\bin\ar.exe Y:\
The system cannot find the file specified.

2) Enquoted path works:
C:\>copy "C:\linarogcc\gcc-linaro-arm-linux-gnueabi-2012.01-20120112+bzr2336~win
32\arm-linux-gnueabi\bin\ar.exe" Y:\
        1 file(s) copied.

3) Renamed path works without quotes:
C:\>copy C:\linarogcc\gcc-linaro-arm-linux-gnueabi-2012.01-20120112-bzr2336-win3
2\arm-linux-gnueabi\bin\ar.exe Y:\
Overwrite Y:\ar.exe? (Yes/No/All): y
        1 file(s) copied.

Revision history for this message
Michael Hope (michaelh1) wrote :

Agreed. I changed the ~ to _ for the release. It's more Debian like in any case.

Revision history for this message
Bernie Ogden (bogden) wrote :

Windows isn't keen on the '+' either:

C:\Program Files\DS-5\bin>copy C:\linarogcc\gcc-linaro-arm-linux-gnueabi-2012.01
-20120112+bzr2336-win32\arm-linux-gnueabi\bin\ar.exe Y:\
The system cannot find the file specified.

C:\Program Files\DS-5\bin>copy "C:\linarogcc\gcc-linaro-arm-linux-gnueabi-2012.0
1-20120112+bzr2336-win32\arm-linux-gnueabi\bin\ar.exe" Y:\
        1 file(s) copied.

Revision history for this message
Michael Hope (michaelh1) wrote :

Yip. I'm very reluctant to lose the '+bzr' as it's Debian style and we use it across every other product.

Note that the + only appears in development builds.

Revision history for this message
Bernie Ogden (bogden) wrote :

If it only affects development builds then I think it's fine as is.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.