bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool does not add stdc++ when linking on Linux


From: Ralf Wildenhues
Subject: Re: libtool does not add stdc++ when linking on Linux
Date: Thu, 19 Jun 2008 12:16:41 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

* Christian Thalinger wrote on Thu, Jun 19, 2008 at 11:58:13AM CEST:
> 
> Btw. here is the link command of the libvm.a and the libvm.la:

Is missing '-rpath $(libdir)', thus only a convenience archive.  IOW,
did you use noinst_LTLIBRARIES instead of lib_LTLIBRARIES?

You do mention a real issue however, independently of above.  Please
post output of
  ../../libtool --tag=CXX --config
  : >a.cc
  g++ -v -o a a.cc

> <snip>
> make[1]: Entering directory 
> `/nfs/nfstmp/twisti/cacao/cacao/build-x86_64-linux/src/vm'
> /bin/sh ../../libtool --tag=CXX   --mode=link g++ -std=c++98 -pedantic -Wall 
> -Wno-long-long -m64 -D__X86_64__ -D__LINUX__ -D_POSIX_C_SOURCE=200112L 
> -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE    -o libvm.la  
> assertion.lo access.lo array.lo builtin.lo  exceptions.lo finalizer.lo 
> initialize.lo package.lo primitive.lo properties.lo resolve.lo signal.lo 
> string.lo vm.lo jit/libjit.la 

Thanks,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]