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: ld issues


When you guys are done....

What is the proper way to create a shared library from a set of .o files in this case generated from *.java files.

I have a single here .o and .java to simplify.



Jeff Sturm wrote:
On Wed, 9 Jul 2003, Andrew Haley wrote:

Indeed. It fascinates me how often this question comes up --


Yeah, me too.


why do
people want to invoke the linker directly instead of having gcj do the
job, when the latter obviously works and the former doesn't?


Habit?  Lots of legacy makefiles still use "ld -shared" (or variants like
"ld -G"), I suspect.  There may also be older non-gcc compiler drivers
that don't understand "-shared" or have any equivalent.

Of course that has nothing to do with gcj.

Jeff



-- Steve Pribyl Steve AT NetFuel dot com Computer Infrastructure Practitioner


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