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: compile question about dll of windows


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/





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