Subject: Re: libtool and -export-dynamic
To: Matthias Drochner <M.Drochner@fz-juelich.de>
From: None <mcmahill@mtl.mit.edu>
List: tech-toolchain
Date: 02/10/2000 17:35:12
On Thu, 10 Feb 2000, Matthias Drochner wrote:

> 
> I'm trying to get some code portable which loads object code dynamically
> and thus needs the -export-dynamic linker option on ELF systems.
> The a.out linker (speaking about i386) doesn't understand this flag,
> so I thought it is wise to use libtool for abstraction. On ELF, I get


hmm.  I have not seen a problem with a.out in this regards.

% gcc -Wl,--export-dynamic -o hello hello.c
% ./hello

and all is ok under NetBSD-1.4.1/{i386,m68k,sparc} (a.out)

I know that some of our packages successfully do this too.

-dan