mirror of
https://github.com/JamesonHuang/OpenWrt_Luci_Lua.git
synced 2024-11-23 13:50:11 +00:00
42 lines
693 B
Plaintext
42 lines
693 B
Plaintext
libmpdclient INSTALL
|
|
====================
|
|
|
|
Requirements
|
|
------------
|
|
|
|
* a C99 compliant compiler (e.g. gcc)
|
|
* make
|
|
|
|
|
|
Compiling libmpdclient
|
|
----------------------
|
|
|
|
Download and unpack the source code. In the libmpdclient directory,
|
|
type:
|
|
|
|
./configure
|
|
|
|
The configure option "--help" lists all available compile time
|
|
options.
|
|
|
|
Compile and install:
|
|
|
|
make
|
|
sudo make install
|
|
|
|
|
|
Compiling with dietlibc
|
|
-----------------------
|
|
|
|
Use the "diet" wrapper as your C compiler:
|
|
|
|
CC="diet -Os gcc -nostdinc" ./configure --disable-shared
|
|
|
|
|
|
Compiling for Windows
|
|
---------------------
|
|
|
|
With mingw32, you can easily cross-compile libmpdclient for Windows:
|
|
|
|
./configure --host=i586-mingw32msvc && make
|