Re: Libtool drops -static from LDFLAGS?

2001-05-08 Thread Alexandre Oliva
On May 7, 2001, Ossama Othman <[EMAIL PROTECTED]> wrote: > Libtool drops the user supplied "-static" flag (e.g. in $LDFLAGS) from > the link command. Is this what we want? Yep. To really force static linking, use -all-static. -static tells libtool to *prefer* static libraries, not to *requir

Re: Libtool drops -static from LDFLAGS?

2001-05-08 Thread Ossama Othman
Hi Alexandre, On Tue, May 08, 2001 at 07:49:30AM -0300, Alexandre Oliva wrote: > > Libtool drops the user supplied "-static" flag (e.g. in $LDFLAGS) from > > the link command. Is this what we want? > > Yep. To really force static linking, use -all-static. -static tells > libtool to *prefer* s

dlopen() under AIX with gcc/g++

2001-05-08 Thread Robert Boehne
Hello, I've been trying to understand dynamic library loading under AIX, particularly when using gcc/g++ (2.95.2). I've found that a C program and library compiled with gcc will dynamicaly load when compiled (and then linked) with: gcc -g -c foo.c gcc -shared -o libfoo.a foo.o gcc -g -c bar.c gc

Using -Bsymbolic with libtool

2001-05-08 Thread Ganesan Rajagopal
Hi, I am currently using -Bsymbolic to compile my libraries. I pass in the flag using "-Xlinker -Bsymbolic". Is "-Bsymbolic" portable and if it is can the flag be added to libtool directly. Linux, FreeBSD ELF, Tru64 and Solaris seem to support it (with the same flag), but I am sure there will be