On Fri, 25 Feb 2000, Ossama Othman wrote:
> I did just realize that the compiler options passed to libtool during
> the link phase are being stripped from the link command. For example:
>
> bin/sh ../libtool --tag=CXX --mode=link c++ -W -Wall -Wpointer-arith
>-fno-implicit-templates -g -O2 -pthread -pipe -O3 -o libACE.la -rpath
>/usr/local/lib -version-info 5:14:0 Basic_Types.lo OS.lo ... -lrt -ldl
>
> becomes:
>
> c++ -shared -nostdlib /usr/lib/crti.o
>/usr/lib/gcc-lib/i386-linux/2.95.2/crtbeginS.o .libs/Basic_Types.o .libs/OS.o ...
>-L/usr/lib/gcc-lib/i386-linux/2.95.2 -lrt -ldl -lstdc++ -lm -lc -lgcc -lc
>/usr/lib/gcc-lib/i386-linux/2.95.2/crtendS.o /usr/lib/crtn.o -Wl,-soname
>-Wl,libACE.so.5 -o .libs/libACE.so.5.0.14
>
> This is clearly busted. I'm working on this problem. Bob, I wonder
> if this is the cause of your C++ exception problems. Are you passing
> some sort of exception flag at link time?
Oh, dear! I am not using any exception flag (that I am aware of),
however, ImageMagick is passing options to support large files &
pthreads, as well as being linked against oodles of shared libraries.
There are user-specified options such as -R to specify the library
run-path.
I think I can get back to this tomorrow ...
Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED]
http://www.simplesystems.org/users/bfriesen