lwip-contrib-mac/ports/unix/proj/lib
2014-09-17 22:14:57 +02:00
..
lwipopts.h bug #35874 reserved identifier violation, 2nd part in even more files 2014-05-20 12:30:59 +02:00
Makefile minor: unix port removed unused define IPv4 2014-09-17 22:14:57 +02:00
README add unix projects to contrib module 2003-01-31 13:35:43 +00:00
unixlib.c fixed warnings in unix port; use the same compiler settings in all 3 projects; use echo.c from apps and removed duplicate from unix/proj/minimal 2014-04-30 14:03:21 +02: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.