Create a dir named "foo bar". Put the attached HelloWorld.java, HelloWorld2.java and source.txt in it. source.txt has this two lines:
Change to the parent folder and type:
gcj --main=HelloWorld -o HelloWorld @"foo bar/source.txt"
It will fail with:
foo:0: warning: duplicate class will only be compiled once
fatal error: can't open foo: No such file or directory
It will work when:
- -o is omitted
- the space between -o and HelloWorld is removed:
gcj --main=HelloWorld -oHelloWorld @"foo bar/source.txt"
- the files in source.txt have no spaces
- when only one file is in source.txt (with spaces)
Created attachment 12570 [details]
A sample source file
Created attachment 12571 [details]
A second sample source file
Created attachment 12572 [details]
The list for the source files
Closing as won't fix as the Java front-end has been removed from the trunk.