On 20-Jan-00 Nils M Holm wrote:
> Is there any way to force the creation of dynamically linked executables
> using the ELF linker (like 'ld -Bforcedynamic' in the a.out version)?
>
> I have to link against static libs, but I want to use dlopen() etc.
I think you have to link against the libs you need by hand.. (And don't specify
-Bstatic).. eg ->
gcc foo.o bar.o /usr/local/lib/liba.a -o foo
That way you end up with a dynamic executable with no unresolved symbols. (Been
here done this ;)
---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message