spaces in filenames/paths

Ranjit Mathew rmathew@gmail.com
Mon Jun 14 11:43:00 GMT 2004


root wrote:
^^^^--- ??? :-P
> > I think this is passed to gcj correctly, so I suspect that the backend
> > jc1 isn't getting it as a whole argument but as 3 in this case.
>> It's possible, but I don't think so. I think it's probably a bug elsewhere.
>> If you produce a standalone testcase I'll have a look.

Mainline on i686-pc-linux-gnu produces:
----------------------------- 8< -----------------------------
~/src/test > cat "foo bar/hello.c"
int main( void) { return 0; }
~/src/test > $HOME/src/gcc/build/gcc/xgcc -B $HOME/src/gcc/build/gcc/ 'foo bar/hello.c'
~/src/test > cat "foo bar/Hello.java"
public class Hello { }
~/src/test > $HOME/src/gcc/build/gcc/gcj -B $HOME/src/gcc/build/gcc/ 'foo bar/Hello.java'
foo:0: fatal error: can't open bar/Hello.java: No such file or directory
compilation terminated.
----------------------------- 8< -----------------------------
Ranjit.
-- 
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /