[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: creating shared libraries
From: |
txie |
Subject: |
Re: creating shared libraries |
Date: |
Thu, 25 Oct 2007 16:13:38 -0400 (EDT) |
User-agent: |
SquirrelMail/1.4.8-4.0.1.el4 |
> * address@hidden wrote on Wed, Oct 24, 2007 at 08:45:36PM CEST:
>>
>> But I have another question about shared library. If I want to create
>> one
>> shared library from many source files in different sub-directories of
>> /src, how to do then?
>
> Like this:
>
> lib_LTLIBRARIES = libfoo.la
> libfoo_la_SOURCES = \
> foo.c \
> subdir/bar.c \
> another-subdir
>
> Cheers,
> Ralf
>
Ralf,
Thanks. But I still have some problems.
1. in Makefile.am:
lib_LTLIBRARIES = libSCORECModel.la
libSCORECModel_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 library with the extension
of some digits, like libfoo.so.0, libfoo.so.0.0.0. How to avoid creating
these files?
Thanks.
Ting
- Re: parallel testsuite execution, Akim Demaille, 2007/10/24
- Re: parallel testsuite execution, txie, 2007/10/24
- creating shared libraries (was: parallel testsuite execution), Ralf Wildenhues, 2007/10/24
- Re: creating shared libraries (was: parallel testsuite execution), txie, 2007/10/24
- Re: creating shared libraries, Ralf Wildenhues, 2007/10/24
- Re: creating shared libraries,
txie <=
- Re: creating shared libraries, Ralf Wildenhues, 2007/10/25
- Re: creating shared libraries, txie, 2007/10/26
- Re: creating shared libraries, Ralf Wildenhues, 2007/10/26
- Re: creating shared libraries, txie, 2007/10/29
Re: parallel testsuite execution, Ralf Wildenhues, 2007/10/24