libtol-2.4

GNU libtool jest skryptem wspierającym typowe biblioteki. Libtool ukrywa komplikację używania współdzielonych bibliotek za spójnym, przenośnym interfejsem.

Konfiguracja i kompilacja przy użyciu skryptu (w załączeniu):


soft@wega:~/libtool% ./drf_libtol-2.4_conf    
cc: Sun C 5.10 SunOS_sparc 2009/06/03
usage: cc [ options] files.  Use 'cc -flags' for details
MANPATH=/usr/local/share/man:/usr/local/man:/usr/share/man
PATH=/usr/local/bin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin
CFLAGS=-fast
CPPFLAGS=-I/usr/local/include
CXXFLAGS=-fast
LDFLAGS=-L/usr/local/lib -R/usr/local/lib
=============================================
dmake clean [y|n] ?
n
=============================================
configure [y|n] ?
y
## ----------------------- ##
## Configuring libtool 2.4 ##
## ----------------------- ##
...
config.status: executing depfiles commands
config.status: executing libtool commands
=============================================

Kompilacja:


dmake [y|n] ?
y
rm -f libtoolize.tmp libtoolize
set dummy `/bin/bash ./libltdl/config/mkstamp .`; shift;  case 2.4 in  *[acegikmoqsuwy]) TIMESTAMP=" $1 $2" ;;  *) TIMESTAMP="" ;;  esac; \
...
libtool: link: ranlib libltdl/.libs/libltdl.a
libtool: link: rm -fr libltdl/.libs/libltdl.lax libltdl/.libs/libltdl.lax
libtool: link: ( cd "libltdl/.libs" && rm -f "libltdl.la" && ln -s "../libltdl.la" "libltdl.la" )
Compilation successful
=============================================

Testowanie:


dmake check [y|n] ?
y
dmake  check-recursive
...
======================
All 115 tests passed
(9 tests were not run)
======================
...
## ------------- ##
## Test results. ##
## ------------- ##

107 tests behaved as expected.
13 tests were skipped.

dmake install po przełączeniu na roota.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.