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: dylibs for libtools and friends?


Tom Tromey wrote:
"Andreas" == Andreas Tobler <toa at pop dot agri dot ch> writes:


Andreas> how do I make dylibs (darwin shared libraries) known to
Andreas> libtools and friends in libgcj/libltdl?

I'm not so sure about libltdl.  I haven't spent very much time looking
at it.  One thing to do would be to check the upstream libtool to see
if the support is already there.  If not, I suggest doing your port
there first.

Ok, this is what I found out as well.

In libgcj, the platform header defines the library prefix and suffix. For Darwin you'd want to conditionally define this in include/posix.h.

Heh, this is the easier part I hope.

Andreas> Also I wonder how many dependencies we have from toplevel Andreas> libtool files?

I don't know what you mean.

The toplevel libtool, ltmain.sh, ltconfig etc. In gcc. /ltcf-gcj.sh ?

Andreas> Are there any plans to update libtool files in libgcj to Andreas> match the latest dylib checks?

Nobody is working on it.  If you want to give it a try, that would be
great.  I don't know of a reason not to do it.

I can try, but first I have to find an up-to-date libtool. And then I have to find about the magic flag enable_shared which gets disabled. Somehwere in the toplevel gcc dir.


It's not that transparent and obvious...

Thanks,
Andreas






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