On 28 Mar 2000, Alexandre Oliva wrote:

> On Mar 28, 2000, Kevin Atkinson <[EMAIL PROTECTED]> wrote:
> 
> > On 28 Mar 2000, Alexandre Oliva wrote:
> 
> > I tried that and it STILL insists on using gcc to make the shared
> > libraries.
> 
> Do you mean your Makefile runs:
> 
> libtool --mode=link g++ lotsastuff.lo -o libmine.la
> 
> and, nevertheless, libtool still uses gcc for linking?  In this case,
> this may be a bug in the recently-added code to automatically select
> the most appropriate configuration tag.  You may be able to overcome
> this problem by explicitly telling libtool which tag to use:
> 
> libtool --tag=CXX --mode=link g++ lotsastuff.lo -o libmine.la

I tried that and this is what I get:

[kevina@kevins-linux pspell-aspell-module]$ /bin/sh ./libtool --tag=CXX
--mode=link c++  -g -O2  -o libpspell_aspell.la -rpath /usr/local/lib
-module manager.lo -lpspell -lpspell-impl -laspell
libtool: ignoring unknown tag CXX
rm -fr  .libs/libpspell_aspell.a .libs/libpspell_aspell.la
.libs/libpspell_aspell.lai .libs/libpspell_aspell.so
.libs/libpspell_aspell.so.0 .libs/libpspell_aspell.so.0.0.0
gcc -shared  .libs/manager.o  -L/usr/local/lib /usr/local/lib/libpspell.so
/usr/local/lib/libpspell-impl.so /usr/local/lib/libaspell.so -lc
-Wl,-soname -Wl,libpspell_aspell.so.0 -o .libs/libpspell_aspell.so.0.0.0
(cd .libs && rm -f libpspell_aspell.so.0 && ln -s
libpspell_aspell.so.0.0.0 libpspell_aspell.so.0)
(cd .libs && rm -f libpspell_aspell.so && ln -s libpspell_aspell.so.0.0.0
libpspell_aspell.so)
ar cru .libs/libpspell_aspell.a  manager.o
creating libpspell_aspell.la
(cd .libs && rm -f libpspell_aspell.la && ln -s ../libpspell_aspell.la
libpspell_aspell.la)

---
Kevin Atkinson
[EMAIL PROTECTED]
http://metalab.unc.edu/kevina/

Reply via email to