[Bug target/4605] [alpha-osf]mips-tfile & spaced directory names

markus dot schoepflin at comsoft dot de gcc-bugzilla@gcc.gnu.org
Wed Jan 14 08:12:00 GMT 2009



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



More information about the Gcc-bugs mailing list