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 >> >> *** Warning: Linking the shared library libfoo.la

Re: Conditional sources in archive libraries

2006-05-30 Thread Ralf Wildenhues
* 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 > > *** Warning: Linking the shared library libfoo.la against the non-libtool > *** objects bar.

Re: Conditional sources in archive libraries

2006-05-30 Thread Liviu Nicoara
Ralf, Please find attached the minimal project which shows the behavior I am talking about. Within the unpacked dir: $ ./bootstrap && ./configure --disable-shared && make config.status: executing depfiles commands Making all in source make[1]: Entering directory `/build/work/foo/sou

Re: Conditional sources in archive libraries

2006-05-30 Thread Ralf Wildenhues
* Liviu Nicoara wrote on Tue, May 30, 2006 at 07:27:22PM CEST: > 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

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 x86_64.s power5.s >> libfoo_la_LIBADD = $(MY_EXTRA

Re: Conditional sources in archive libraries

2006-05-30 Thread Ralf Wildenhues
Hi Liviu, * Liviu Nicoara wrote on Tue, May 30, 2006 at 06:59:53PM CEST: > > 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

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: Preloading without .la

2006-05-30 Thread Pierre Ossman
I guess this issue got lost somewhere. As the issue persists for me and I'd rather not use a homebrew build environment, I'd still like this to be resolved. Rgds Pierre Pierre Ossman wrote: > Ralf Wildenhues wrote: >> [ Let's move this to libtool-patches >> Note also the list server may not com