source: azure_iot_hub_f767zi/trunk/asp_baseplatform/lwip/contrib-2.1.0/ports/unix/lib/README@ 457

Last change on this file since 457 was 457, checked in by coas-nagasima, 4 years ago

ファイルを追加

File size: 701 bytes
Line 
1This directory contains an example of how to compile lwIP as a shared library
2on Linux.
3
4Some brief instructions:
5
6* Compile the code:
7
8 > mkdir build
9 > cd build
10 > cmake ..
11 > make clean all
12
13 This should produce liblwip.so. This is the shared library.
14
15* Link an application against the shared library
16
17 If you're using gcc you can do this by including -llwip in your link command.
18
19* Run your application
20
21 Ensure that LD_LIBRARY_PATH includes the directory that contains liblwip.so
22 (ie. this directory)
23
24
25If you are unsure about shared libraries and libraries on linux in
26general, you might find this HOWTO useful:
27
28<http://www.tldp.org/HOWTO/Program-Library-HOWTO/>
Note: See TracBrowser for help on using the repository browser.