bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/12110] Spaces in pathname breaks compilation


From: amodra at gmail dot com
Subject: [Bug binutils/12110] Spaces in pathname breaks compilation
Date: Tue, 12 Oct 2010 01:31:50 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12110

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.10.12 01:31:49
                 CC|                            |amodra at gmail dot com
     Ever Confirmed|0                           |1

--- Comment #1 from Alan Modra <amodra at gmail dot com> 2010-10-12 01:31:49 
UTC ---
Shell quoting is easy to fix, but more than just shell commands break if your
sources are in a path containing spaces.  The big problem is "make".  VPATH
will break, as will rules like
$(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
    cd "$(srcdir)" && $(AUTOGEN) Makefile.def

For example, if srcdir="/src/i like spaces", the above target becomes
/src/i like spaces/Makefile.in:
and make will try to build three targets, "/src/i", "like", and
"spaces/Makefile.in".

This is not just a binutils issue, since the top level configure and make files
are shared between binutils, gcc, and other projects.

-- 
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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]