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: Christian Thalinger
Subject: Re: libtool does not add stdc++ when linking on Linux
Date: Thu, 19 Jun 2008 12:00:02 +0200

On Thu, 2008-06-19 at 11:57 +0200, Andreas Schwab wrote:
> Christian Thalinger <address@hidden> writes:
> 
> > Linux:
> > /bin/sh ../../libtool --tag=CC --mode=link gcc -std=c99 -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 -D_REENTRANT
> > -o libjvm.la -rpath /usr/local/cacao/lib -version-info
> > 1:0:0   ../../src/fdlibm/libfdlibm.la ../../src/mm/libmm.la 
> > ../../src/native/libnative.la ../../src/threads/libthreads.la 
> > ../../src/toolbox/libtoolbox.la ../../src/vm/libvm.la 
> > ../../src/vmcore/libvmcore.la  -lz -lpthread -lopcodes -lbfd -liberty -ldl 
> 
> When none of these libraries depend on libstdc++ then there is nothing
> else that adds that dependency.

Right, but ../../src/vm/libvm.la should depend on it, as it does on
OpenSolaris, since it contains a C++ object file.

- twisti





reply via email to

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