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: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- To: gnustuff at thisiscool dot com
- Cc: java at gcc dot gnu dot org
- Date: Fri, 11 Apr 2003 08:15:05 +1000 (EST)
- Subject: Re: compile question about dll of windows
> > J-F>> I also tried the linker directly:
> > J-F>> ld -shared -o libgcj.dll --out-implib libgcj.a --export-all-symbols
> *.o
> >
> > Are the two variations equivalent or does gcj do some additional
> > stuff under the covers?
>
> Use "gcj -v" and see.
>
> > Is invoking ld directly a viable way of doing
> > this or do we <i>have</i> to use gcj? And if so, why?
>
> Because if you use ld directly rather than invoking it with gcj we
> won't support you. The whole idea of having gcj do the work is that
> we can be sure the options passed to ld are correct.
Right. If there are any special options that need to be passed, the
-Wl,--option syntax should be used.
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?
Danny
> Andrew.
http://mobile.yahoo.com.au - Yahoo! Mobile
- Check & compose your email via SMS on your Telstra or Vodafone mobile.