http://sourceware.org/bugzilla/show_bug.cgi?id=12110
Summary: Spaces in pathname breaks compilation Product: binutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils AssignedTo: unassig...@sources.redhat.com ReportedBy: br...@brush.co.nz This is a bug report from mspgcc4. The developer told me it was a binutils issue, so I should report it here. When trying to compile on my machine, I put the mspgcc4 source code into a folder which has a space in one of the parent paths. It bombs out with a difficult-to-interpret message (further below). After thinking about it, it became clear what the problem was, but this message was hidden amongst many other resulting errors, so it took a while to find out why it was having problems. At the very least, it should fail gracefully with a clear error message, like "Cannot compile in a directory containing spaces in the pathname". However, it should really compile without any issues. Spaces in the pathname shouldn't be a problem in modern operating systems, and errors like these point to a need for better escaping in certain shell commands. # patching file opcodes/msp430-dis.c # /home/Documents/Learning Projects/msp430/mspgcc4-20101006/build/binutils-2.20.1-build/../binutils-2.20.1/configure: line 1343: cd: /home/Documents/Learning: No such file or directory -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils