This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: compile question about dll of windows
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Cc: java at gcc dot gnu dot org
- Date: Fri, 11 Apr 2003 02:14:39 -0500
- Subject: Re: compile question about dll of windows
- Reply-to: gnustuff at thisiscool dot com
Hi Danny,
>I think I may have missed something. Is the direct invocation of ld an attempt
>to workaround bug with long commandline inputs being piped fom driver to ld?
Yes.
This seemed also more enticing because it seems like MingW binutils has
a higher hackability quotient than the gcj front-end. For example, I hacked
MingW ar to accept filelists and was able to bypass libtool's sorting the
object file lists and checking for duplicates.
BTW: I tried building a i686-pc-linux-gnu > i386-pc-mingw32 cross binutils and
doing this:
mingw32-gcj -shared -o libgcj.dll -Wl,--out-implib,libgcj.a -Wl,--export-all-symbols -Wl,--whole-archive libgcj.old.a -Wl,--no-whole-archive
...where libgcj.old.a is my old-style libgcj.a. mingw32-ld choked. Maybe I'll look
into this more after I crawl under the table and rock back and forth in the
fetal position for awhile. 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.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/