This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/4605] [alpha-osf]mips-tfile & spaced directory names
- From: "markus dot schoepflin at comsoft dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2009 08:11:55 -0000
- Subject: [Bug target/4605] [alpha-osf]mips-tfile & spaced directory names
- References: <bug-4605-4970@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from markus dot schoepflin at comsoft dot de 2009-01-14 08:11 -------
Subject: Re: [alpha-osf]mips-tfile & spaced directory names
gnu at the-meissners dot org wrote:
> ------- Comment #15 from gnu at the-meissners dot org 2009-01-13 23:13 -------
> I suspect this needs to be solved in gcc.c with the specs handling, and you
> probably need something to quote the white space in filename, so that it
> doesn't break the file into separate arguments. Only some alpha and mips port
> use ASM_FINAL_SPEC which calls mips-tfile.
I don't think this can be solved in gcc at all. AFAICT the quoting is all
there as needed, but the system assembler simply can't handle file names
with embedded blanks.
> I must admit that when I wrote mips-tfile as a quick hack in 1990 to get around
> the problem of having to use the MIPS assembler which provided no debug
> inteferface until a MIPS port of GAS was done, that the hack would still be in
> use 18 years later.
Nothing is as long-lived as a quick hack, isn't it?
Markus
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4605