Using a different C++ Standard Library

2005-12-13 Thread Liviu Nicoara
Hello all, I have problems in trying to get libtool to use the C++ standard library I want. I have my own C++ stdlib created with gcc on Linux. This library is compiled using gcc and linked with gcc; the only C++ library it links is libsupc++ which provides the language support. This C++ standard

Re: Using a different C++ Standard Library

2005-12-15 Thread Liviu Nicoara
ng --tag=CXX which accomplishes the goal. In response to your suggestions for a fix, more valuable to me as a user would probably be an option to indicate I only want minimal C++ language support. How about no C++ support at all and allowing me to indicate all libraries I need? Thanks, Liviu Ra

Conditional sources in archive libraries

2006-05-30 Thread Liviu Nicoara
Hi all, I am trying to conditionally compile [assembly] sources for my archive library. I initially tried: ## Makefile.am: lib_LTLIBRARIES = libfoo.la libfoo_la_SOURCES = main.cpp EXTRA_libfoo_la_SOURCES = x86.s x86_64.s power5.s libfoo_la_LIBADD = $(MY_EXTRA_SOURCES) libfoo_la_DEPENDENCIES = $(

Re: Conditional sources in archive libraries

2006-05-30 Thread Liviu Nicoara
Hi Ralf, Please see below: Ralf Wildenhues wrote: > Hi Liviu, > * Liviu Nicoara wrote on Tue, May 30, 2006 at 06:59:53PM CEST: >> ## Makefile.am: >> >> lib_LTLIBRARIES = libfoo.la >> libfoo_la_SOURCES = main.cpp >> EXTRA_libfoo_la_SOURCES = x86.s x

Re: Conditional sources in archive libraries

2006-05-30 Thread Liviu Nicoara
linux/lib -L/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../.. /usr/lib/./libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/crtendS.o /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../crtn.o -Wl,-soname -Wl,libfoo-0.0.2.so -o .libs/libfoo-0.0.2.so ......... Please

Re: Conditional sources in archive libraries

2006-05-30 Thread Liviu Nicoara
Got it. Thanks! Ralf Wildenhues wrote: > * Liviu Nicoara wrote on Tue, May 30, 2006 at 07:49:38PM CEST: >> /bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -o libfoo.la >> -rpath /usr/local/lib -release 0.0.2 foo.lo bar.o >> mkdir .libs >> >> *** Wa

libtool/ltmain linking wrong (/usr/lib) libstdc++

2007-04-20 Thread Liviu Nicoara
Hi all, I am trying to link a library and test program in an autotools-based project using Intel C++ 9.1.042 and GCC 4.1.2. One of my machines has a default installation of GCC (3.3.6). I built and installed gcc-4.1.2 and icc-9.1.042 in /opt/compilers. My goal is to link the project's library

Re: libtool/ltmain linking wrong (/usr/lib) libstdc++

2007-04-21 Thread Liviu Nicoara
Liviu Nicoara wrote: Hi all, I am trying to link a library and test program in an autotools-based project using Intel C++ 9.1.042 and GCC 4.1.2. One of my machines has a default installation of GCC (3.3.6). I built and installed gcc-4.1.2 and icc-9.1.042 in /opt/compilers. My goal is to link

Re: libtool/ltmain linking wrong (/usr/lib) libstdc++

2007-04-23 Thread Liviu Nicoara
Ralf Wildenhues wrote: AFAIK it's not the same issue. From a glance, it's also distinct from which you pointed to in your other mail. How do I go about linking with the custom built GCC libstdc++ on the system which has a defau

Re: libtool/ltmain linking wrong (/usr/lib) libstdc++

2007-04-24 Thread Liviu Nicoara
Hi Ralf, Ralf Wildenhues wrote: Hello Liviu, * Liviu Nicoara wrote on Mon, Apr 23, 2007 at 04:54:55PM CEST: I have attached it as a gzipped archive. Was that with --tag=CXX? Yes it was: $ /bin/sh ../libtool --debug --tag=CXX --mode=link icpc -g -O2 -o libford.la -rpath /tmp/install

Re: libtool/ltmain linking wrong (/usr/lib) libstdc++

2007-04-24 Thread Liviu Nicoara
Ralf Wildenhues wrote: Misunderstanding here. I would like to see the output of ./libtool --tag=CXX --config rather than the output of ./libtool --config which I think you posted. Sorry for that, here's the right one. Thanks, Liviu libtool.config.gz Description: application/gzip _

Re: libtool/ltmain linking wrong (/usr/lib) libstdc++

2007-04-24 Thread Liviu Nicoara
Ralf Wildenhues wrote: Ralf Wildenhues wrote: ./libtool --tag=CXX --config Hi Ralf, I believe I may have made a mistake with the previous attachments. It is possible the previous ones were generated with a tainted libtool script. I apologize and I am attaching the correct ones here: 1. l