bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Linux Builds Complete - Questions


From: Conrad T. Pino
Subject: RE: Linux Builds Complete - Questions
Date: Tue, 30 Aug 2005 12:15:34 -0700

Hi David,

> From: David Sugar
> Sent: Tuesday, August 30, 2005 04:37
> 
> There is a configure option --without-compression, which gets rid of the
> need for libz.  There is also --without-libxml2.  If your not using 
> exceptions, you might want to use --without-exceptions as well...

IMO these trace back to:

H:\commoncpp2>grep -dn "(XML|Z)_LIBS" Makefile.am
File demo\Makefile.am:
17      Z_LIBS = -lz
24      urlfetch_LDADD = ../src/libccext2.la $(XML_LIBS) $(Z_LIBS) $(LDADD)
27      xmlfetch_LDADD = ../src/libccext2.la $(XML_LIBS) $(Z_LIBS) $(LDADD)
30      buffer_LDADD = ../src/libccext2.la $(XML_LIBS) $(Z_LIBS) $(LDADD)
33      cmdlineopt_LDADD = ../src/libccext2.la $(XML_LIBS) $(Z_LIBS) $(LDADD)
42      str_LDADD = ../src/libccext2.la $(XML_LIBS) $(Z_LIBS) $(LDADD)
49      tcpservice_LDADD = ../src/libccext2.la $(XML_LIBS) $(Z_LIBS) $(LDADD)
52      portsample_LDADD = ../src/libccext2.la $(XML_LIBS) $(Z_LIBS) $(LDADD)
55      netdevices_LDADD = ../src/libccext2.la $(XML_LIBS) $(Z_LIBS) $(LDADD)
58      serial_LDADD = ../src/libccext2.la $(XML_LIBS) $(Z_LIBS) $(LDADD)
61      crc32_LDADD = ../src/libccext2.la $(XML_LIBS) $(Z_LIBS) $(LDADD)
File tests\Makefile.am:
17      Z_LIBS = -lz
35      ccxx_tests_LDADD = ../src/libccext2.la $(XML_LIBS) $(Z_LIBS) $(LDADD) \
46      digest_LDADD = ../src/libccext2.la $(XML_LIBS) $(Z_LIBS) $(LDADD)
57      url1_LDADD = ../src/libccext2.la $(XML_LIBS) $(Z_LIBS) $(LDADD)

I prefer editing "Makefile.am" to remove "Z_LIBS" definition and remove
references to "XML_LIBS" and "Z_LIBS" since there not truly used.

> All you really need to do is make sure the resulting arm libcc* files 
> are on a valid library search path directory on the target.  You may 
> have to manually build sym links also.  Nothing else should be needed 
> for a runtime install.

Thank you.

I paraphrase a prior unanswered question:  Why aren't "demo" and "tests"
built as part of the main build?

Conrad





reply via email to

[Prev in Thread] Current Thread [Next in Thread]