compile question about dll of windows

Andrew Haley aph@redhat.com
Sat Apr 12 08:12:00 GMT 2003


=?iso-8859-1?Q?Danny=5FSmith?= writes:
 >  --- Andrew Haley <aph@redhat.com> wrote: > Anthony Green writes:
 > >  > On Fri, 2003-04-11 at 00:14, Mohan Embar wrote:
 > >  > > I suspect that when Anthony originally did this, there might
 > >  > > have been less object files and he didn't run into any
 > >  > > command-line limitations.
 > >  > 
 > >  > I'm sorry, but I haven't been following this thread very
 > >  > closely.  I did my experiments on Linux, and tested the DLL
 > >  > under wine.  Aren't the command-line limitations unique to
 > >  > Windows hosted tools?
 > > 
 > > What I don't understand is why gcj has such a limitation and ld
 > > doesn't.
 > 
 > Probably a limitation in CRT spawn which is used in driver to pass
 > argumentments to next process. I belive spawn family of functions
 > are wrappers for CreateProcess. See execute in gcc.c and pexecute
 > in libiberty.

Well yeah, but gcj is surely invoked from the shell in the same way.

Anyway, even if this is true, it's easy enough to create an archive
and link that.  

Andrew.



More information about the Java mailing list