Re: creating shared libraries

2007-11-05 Thread txie
> * [EMAIL PROTECTED] wrote on Mon, Oct 29, 2007 at 11:02:40PM CET: >> >> I still dont know how to remove the library files with version number, >> such as libfoo.so.0.0.0. May you show me a simple example? > > Without Automake, just plain commands: > > : ${CC=cc} > echo 'int f() { return 0; }' > a

How to create optimized library?

2007-10-29 Thread txie
Hi, I want to create some optimized library from .c and .cc files. I created AM_CPPFLAGS in Makefile.am, but the code is always compiled with '-g -O2' flags. I defined 'CPPFLAGS' in the configure, it still does not work. Do you know how to create optimized library? Another question: what is the n

Re: creating shared libraries

2007-10-29 Thread txie
> * [EMAIL PROTECTED] wrote on Fri, Oct 26, 2007 at 06:27:00PM CEST: >> >> Yes, It works. And I found another solution: using Libtool Convenience >> Libraries. Firstly create some .la files in subdirectories, then create >> the wanted .la file on the upper directory. > > Yes, that is a possibility.

Re: creating shared libraries

2007-10-26 Thread txie
> * [EMAIL PROTECTED] wrote on Thu, Oct 25, 2007 at 10:13:38PM CEST: >> 1. in Makefile.am: >> lib_LTLIBRARIES = libSCORECModel.la >> libSCORECModel_la_SOURCES = \ >> entities/GEdge.cc \ >> Compiling error: >> Making all in src >> make[1]: Enterin

Re: creating shared libraries

2007-10-25 Thread txie
l_la_SOURCES = \ entities/GEdge.cc \ Compiling error: Making all in src make[1]: Entering directory `/users/txie/tmp/FMDB_Automake/SCORECModel/SCORECModel/src' make[1]: *** No rule to make target `GEdge.cc', needed by `GEdge.lo'. Stop. 2. after make install, it creates some shared

Re: creating shared libraries (was: parallel testsuite execution)

2007-10-24 Thread txie
> Hello Ting, > > * [EMAIL PROTECTED] wrote on Wed, Oct 24, 2007 at 07:38:29PM CEST: >> >> Does anyone know how to create shared library file .so file? Currently I >> only know write .la file (not .so file) in Makefile.am file. Thanks. > > First, please do not reply to other threads when you start

Re: parallel testsuite execution

2007-10-24 Thread txie
Hi, Does anyone know how to create shared library file .so file? Currently I only know write .la file (not .so file) in Makefile.am file. Thanks. Ting "RW" == Ralf Wildenhues <[EMAIL PROTECTED]> writes: > > > Hello Benoit, > > Hi Ralf, > > Sorry for answering so late... > > > > Can you rid