This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: spaces in filenames/paths
On Sat, 2004-06-12 at 13:17, Michael Koch wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am Samstag, 12. Juni 2004 22:07 schrieb Sean McNeil:
> > I'm trying to compile Eclispe with gcj/gij and I find that ant is
> > having a hard time with gcj. I've used -Dbuild.compiler=gcj and
> > -Dbuild.compiler=jikes. jikes works fine and seems to compile
> > files/paths with a space in them, but gcj appears to be splitting
> > the args at the space and I end up getting errors.
> >
> > Is this a known issue?
>
> I didn't knew space is a valid Character in a class name. Can you give
> any example ?
It isn't the class name, it is a compilation path.
Example:
org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventKey.java
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.