Difference between revisions of "SDL net"
From CBLFS
Jump to navigationJump to search(5 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://www.libsdl.org/projects/SDL_net/release/SDL_net- | + | | http://www.libsdl.org/projects/SDL_net/release/SDL_net-{{SDL_net-Version}}.tar.gz |
|} | |} | ||
---- | ---- | ||
+ | |||
+ | {{Package-Introduction|This is a small sample cross-platform networking library, with a sample chat client and server application. The chat client uses the GUIlib GUI framework library.|http://www.libsdl.org/projects/SDL_net/}} | ||
== Dependencies == | == Dependencies == | ||
Line 31: | Line 33: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD32}" USE_ARCH=32 \ | + | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \ |
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
make | make | ||
Line 43: | Line 45: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILDN32}" USE_ARCH=n32 \ | + | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \ |
./configure --prefix=/usr --libdir=/usr/lib32 && | ./configure --prefix=/usr --libdir=/usr/lib32 && | ||
make | make | ||
Line 55: | Line 57: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD64}" USE_ARCH=64 \ | + | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \ |
./configure --prefix=/usr --libdir=/usr/lib64 && | ./configure --prefix=/usr --libdir=/usr/lib64 && | ||
make | make | ||
Line 62: | Line 64: | ||
make install | make install | ||
+ | |||
+ | [[Category:Media Libraries]] |
Latest revision as of 15:32, 19 March 2009
Download Source: | http://www.libsdl.org/projects/SDL_net/release/SDL_net-1.2.7.tar.gz |
---|
Contents
Introduction to SDL net
This is a small sample cross-platform networking library, with a sample chat client and server application. The chat client uses the GUIlib GUI framework library.
Project Homepage: http://www.libsdl.org/projects/SDL_net/
Dependencies
Required
Optional
Non-Multilib
Compile the package:
./configure --prefix=/usr && make
Install the package
make install
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \ ./configure --prefix=/usr && make
Install the package
make install
N32
Compile the package:
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \ ./configure --prefix=/usr --libdir=/usr/lib32 && make
Install the package
make install
64Bit
Compile the package:
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \ ./configure --prefix=/usr --libdir=/usr/lib64 && make
Install the package
make install