The goal of the ezV24 library is to provide an easy to use interface to the serial ports of an linux/unix system. At the current stage, it comes with rudimentary support for the CYGWIN toolchain (see https://www.cygwin.com/). I don't have a Cygwin installation anymore, so this part of the code is untested!
The project it hosted at github. You can find the latest release of the
ezV24 library at https://github.com/joede/libezV24. If you have some
questions, feel free to write me an email [email protected]. To
ease the mail handling, please put a [ezV24]
into the subject line of the
mail.
To install the libary, just unpack the archive (you may have done this ;) and execute the following steps:
-
compile the library by typing
make
. The result should be a executable shared library namedlibezV24.so.*
and the sampletest-v24
. To see whattest-v24
do, you must have a look into the source code. -
become root and install the library and the header files. This call will update you ldd-cache too! Note that this doen's install the html documentation! I'm not shure where to install it, so you can put it into your prefered directory.
$ su # make install # exit
Some systems don't use
/usr/local/lib
as possible path for libraries. In this case, you should add/usr/local/lib
to/etc/ld.so.conf
before callingmake install
!
Previous releases of ezV24 have installed the unnecessary header
ezV24_conf.h. If you update to V0.1.0, you should either call the old
Makefile with make uninstall
or remove the file manually.
To use the libary for your own applications, you have to include the main header:
#include <ezV24/ezV24.h>
To link the shared library to your application, you just have to specify the
basename of the library with -lezV24
. The whole call could look like this:
gcc -o foo foo.c -lezV24
For more information, just have a look into the html documentation.
At the time being, ezV24 supports the debian package format .deb and the Red Hat format RPM. Both package type are `unofficial'. This means, these packages are not build by official members of the corresponding organizations.
The spec file for RPM's is made by Pascal Bleser [email protected]! Thanx. Binary build for SuSE-Linux could be found at https://guru.unixtech.be/rpm/packages/Development/libezV24/. Note that I neither build RPM's nor test the RPM build process. If you have any questions about RPM's, please contact Pascal Bleser.
-- Joerg Desch