This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: 4.2 Project: "@file" support


On 8/25/05, DJ Delorie <dj@redhat.com> wrote:
> 
> > FWIW, I should note that GCJ already has support for @file
> > style list of input files:
> >
> >   http://gcc.gnu.org/onlinedocs/gcj/Input-and-output-files.html
> >
> > and has had it for quite some time now.
> 
> DJGPP and Cygwin hosted programs will never see these options, because
> the runtime has already expanded them if appropriate.
> 
> Which means your documentation is *wrong* for those platforms; for
> them, *any* command line option is legal in @file.  Please update your
> documentation ;-)

GCJ supports them because Sun's javac supports them:

  http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javac.html

Sun's javac seems to have the same semantics as that you describe
(options, source files, etc.) while GCJ seems to support only source
files in "@file" files.

So at least on DJGPP/Cygwin, GCJ would appear to be more
compatible with Sun's javac than it really is. :-)

Ranjit.

-- 
Ranjit Mathew      Email: rmathew AT gmail DOT com

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


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