lwip/contrib/ports/unix/lib
Joan Lledó fa6f8054eb Move LWIP_MARK_TCPIP_THREAD to include/lwip/sys.h
* LWIP_MARK_TCPIP_THREAD moved to include/lwip/sys.h
* Unix port macro definitions moved to sys_arch.h
  * LWIP_MARK_TCPIP_THREAD
  * LOCK_TCPIP_CORE
  * UNLOCK_TCPIP_CORE

(goldsimon@gmx.de: fixed unix Makefile build and win32 build)
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2019-07-26 20:09:40 +02:00
..
CMakeLists.txt CMake build system: Fix STREQUAL comparisons and set /Wall for MSVC 2018-11-22 13:25:43 +01:00
lwipopts.h Move LWIP_MARK_TCPIP_THREAD to include/lwip/sys.h 2019-07-26 20:09:40 +02:00
README

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

Some brief instructions:

* Compile the code:

 > mkdir build
 > cd build
 > cmake ..
 > make clean all

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

* Link an application against the shared library

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

* Run your application

 Ensure that LD_LIBRARY_PATH includes the directory that contains liblwip.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/>