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


>  > 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.


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