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


Mohan Embar writes:
 > Danny,
 > 
 > In Anthony's original post, he invokes gcj and passes options
 > to the linker.
 > 
 > http://gcc.gnu.org/ml/java/2002-12/msg00287.html
 > 
 > Jean-François tried both this and invoking the linker directly:
 > 
 > 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.

Andrew.


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