hylafax + libtiff: Shared Library Support

Kaminakis Nikos nickam at venus.cs.teiher.gr
Mon Mar 22 16:49:54 EET 1999


Geia xara,

To hylafax 0elei leei thn libtiff.
1)katevazw apo ekei pou mou leei to tiff-v3.4 , meta ta klassika
./configure, make , make install kai mou ftiaxnei to libtiff.a . Sto
configure den exei kanena option pou na exei sxesh me -shared h'
-enable-shared h' otidhpote tetoio. diavazontas ta docs ths libtiff
anaferei:

Shared Library Support

It is desirable to make the TIFF library be a shared object on systems
that have support for shared libraries. Unfortunately the rules to
use to build a shared library vary between operating systems and even
compilers. The distributed software includes support for building
a shared version of the library on a number of different systems. This
support is split between rules in the file libtiff/Makefile.in that
construct the shared library and checks done by the configure script to
verify that the expected rules are supported by compilation
tools for the target system. 

To add new support for building a shared library both these files must be
updated. In the configure script search for the section where
the autoconfiguration setting of the DSO parameter is handled and add a
new case for the target system that sets the DSOSUF, DSOLD,
DSOOPTS, and LIBCOPTS options as appropriate for the system. DSOSUF
specifies the filename suffix used for the shared library (e.g.
``.so'' for Dynamic Shared Objects on most SVR4-based systems). DSOLD
specifies the program to use to build the shared library from
a compiled object file; typically ``${LD}'' though on some systems it is
better to use the C compiler directly so system-dependent
options and libraries are automatically supplied. DSOOPTS are options that
must be specified to DSOLD when building the shared
library. LIBCOPTS are options to pass to the C compiler when constructing
a relocatable object file to include in a shared library; e.g.
``-K PIC'' on a Sun system. The DSO parameter must also be set to a unique
label that identifies the target system and compilation
tools. This label is used to select a target in libtiff/Makefile.in to do
the actual work in building the shared library. Finally, to complete
support for the shared library added the appropriate rules to
libtiff/Makefile.in under the target specified in the configure script.


pws omws 0a peira3w ta arxeia pou mou leei ??/ ti prepei na kanw????
to mono pou ekana einai na kanw configure me -with-DSO=yes , alla den
ekane tipota......

to exei koita3ei kaneis auto ??

euxaristw :)

nikolas



--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list