Re: libtool and lttctl

Mathieu Desnoyers <[email protected]>
Newsgroups gmane.linux.kernel.tracing
Message-ID <20061003044256.GA20895@Krystal>
Hi,

The recipe to build a libtool project can be found in the lttv package.

Look at :

profile.sh :
./autogen.sh --prefix=$1 --enable-lttvstatic

configure.in :
AM_CONDITIONAL(LTTVSTATIC, test "$enable_lttvstatic" = yes)

lttv/lttv/Makefile.am :

lttv_real_LDFLAGS = -export-dynamic

if LTTVSTATIC
  lttv_real_LDFLAGS += -profile -static
endif


Use the same in ltt-control and it should work. If you want to do it on the
subversion tree and submit the patches, they will be welcome :)

Thanks,

Mathieu


* Johnicholas Hines ([email protected]) wrote:
> I'm sorry to ask this stupid question when there are exciting kernel
> markers going on, but I'm still working on trying to get lttng onto
> this arm board.
> 
> As I understand it, lttctl depends on liblttctl, and libtool is
> mediating the dependence somehow.
> 
> Is there a way of telling libtool and/or configure "no, I don't want
> any libraries, I just want you to make me a binary executable"?
> 
> For specificity, I'm trying to cross-compile lttng 0.5.76 and
> ltt-control 0.13 for an arm board.
> 
> Thanks, Johnicholas
> _______________________________________________
> ltt-dev mailing list
> [email protected]
> http://www.listserv.shafik.org/listserv/listinfo/ltt-dev
> 
OpenPGP public key:              http://krystal.dyndns.org:8080/key/compudj.gpg
Key fingerprint:     8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.