Subject: -rdynamic
To: None <tech-toolchain@netbsd.org>
From: None <mcmahill@mtl.mit.edu>
List: tech-toolchain
Date: 02/17/2000 21:07:39
It appears that at least under 1.4.x the '-rdynamic' flag to 'cc' does
nothing.  Instead to make functions from a program available to shared
libs, I've been using '-Wl,--export-dynamic' (note 2 dashes in front of
export, 1 seems to disturb a.out systems).  So the question is really,
should we make -rdynamic do the same as -Wl,--export-dynamic?  

The only reason I've noted this is that a handful of programs I've run
across (written for linux) use the -rdynamic flag and hence need to be
patched to have -Wl,--export-dynamic to work on NetBSD ELF systems.

I've no idea whats involved with this or if it even makes sense, but
thought I'd ask.

-Dan