This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Fwd: PATCH: Response file support]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ranjit Mathew wrote:
> FYI.
> 
> The GCC driver on mainline (to-be-4.2), now accepts
> "@foo"-style arguments on the command line, primarily
> to accommodate command line length restrictions on
> some systems. This supersedes the @file support in
> GCJ and accepts basically anything that can be
> specified on the command line (and not just input
> files).

An addendum:

This causes (at least on my i686-pc-linux-gnu box)
the following changes in Jacks testresults:

  XPASS: non-jls-argument-expansion-13
  FAIL: non-jls-argument-expansion-error-1

For the latter case, GCJ does issue a warning:
- ------------------------- 8< -------------------------
~/src/tmp > cat foo
Hello.java
~/src/tmp > $MYGCJ -C Hello.java @foo
Hello.java:0: warning: duplicate class will only be compiled once
~/src/tmp > echo $?
0
- ------------------------- 8< -------------------------
but apparently the testcase expects it to error out. :-/

Thanks,
Ranjit.

- --
Ranjit Mathew      Email: rmathew AT gmail DOT com

Bangalore, INDIA.    Web: http://ranjitmathew.hostingzero.com/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDhWSOYb1hx2wRS48RAuIYAJ9doQA0z1av09mNIr6OyqS6jfka4wCgm4Pk
Nun/XYgPSOY3IVfI89D+nog=
=YMhg
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]