dlltool on linux

Alexandre Oliva aoliva@redhat.com
Thu Mar 6 03:55:00 GMT 2003


On Mar  4, 2003, Tom Tromey <tromey@redhat.com> wrote:

>>>>>> "Erik" == Erik Poupaert <erik.poupaert@chello.be> writes:
Erik> I'd like to do the same thing on linux now. I'd like to link
Erik> three objects, that is, callback.o, swt.o, structs.o into the
Erik> executable, and export their symbols so that ltdl may find them
Erik> and load them. Since dlltool does not exist on linux, do you
Erik> know how that goes on linux?

> It seems like it should happen automatically.

libtool's -export-dynamic is a portable interface to obtain this
effect.  It's not default on all OSs.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Java mailing list