lwip/proj/unixlib
2003-01-08 11:03:54 +00:00
..
lwipopts.h Moved ETHARP_ALWAYS_INSERT switch to lwipopts.h 2003-01-08 11:03:54 +00:00
Makefile Removed tcpdump.c from Makefile - it seems to have disappeared 2002-12-18 12:00:14 +00:00
README New example project demonstrates how to use lwIP as a shared library 2002-10-25 15:31:01 +00:00
unixlib.c Updated lwIP module copyright years to include 2003. Committers must check theirs. 2003-01-08 10:09:39 +00:00

This directory contains an example of how to compile lwIP as a self
initialising shared library on Linux.

Some brief instructions:
 
* Compile the code:

 > make clean all

 This should produce liblwip4unixlib.so.  This is the shared library.

* Link an application against the shared library

 If you're using gcc you can do this by including -llwip4unixlib in
your link command. 

* Run your application
 
 Ensure that LD_LIBRARY_PATH includes the directory that contains
liblwip4unixlib.so (ie. this directory)



If you are unsure about shared libraries and libraries on linux in
general, you might find this HOWTO useful:

<http://www.tldp.org/HOWTO/Program-Library-HOWTO/>



Kieran Mansley, October 2002.