Hi,
I am using linux. I want to find out how to link my
SDL App to a shared lib, and static lib. I have tried
"–libs" and “–static-libs” when using “sdl-config”.
However, when I use “ldd” to check them, i find that
they are linked with the same set of libraries.
I guess using “–static-libs” would lead to linking
with shared library. So how can I do if I want to
link with static libs?
thx
???
Hi,
I am using linux. I want to find out how to link my
SDL App to a shared lib, and static lib. I have tried
"–libs" and “–static-libs” when using “sdl-config”.
However, when I use “ldd” to check them, i find that
they are linked with the same set of libraries.
I guess using “–static-libs” would lead to linking
with shared library. So how can I do if I want to
link with static libs?
You need to have built static libs! Some systems only build shared.
If you’re building your own SDL, ./configure --enable-shared --enable-static.
If you’re using a prebuilt package, talk to whoever built that
package. There might be a different package that contains static
libraries, since they tend to be big.
– JoshOn 6/21/05, guriluzi82-libsdl at yahoo.com.hk wrote:
thx
???
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl