Sdl-config editing

See, as much as I appreciate your response, editing sdl-config doesn’t quite
cut it. Its a binary, as in, no editing. The interface is pretty stupid
too, as I can only see the librarys and such. So how do I actually add a
library? Lets say I want to add library X11, usually it would just be a -l
(dash L).

///////////
// Leo //
///////////_________________________________________________________________
Expand your wine savvy ? and get some great new recipes ? at MSN Wine.
http://wine.msn.com

sdl-config isn’t a binary. It’s a bash script.

-MarkOn Wed, 24 Dec 2003, Leo . wrote:

See, as much as I appreciate your response, editing sdl-config doesn’t quite
cut it. Its a binary, as in, no editing. The interface is pretty stupid
too, as I can only see the librarys and such. So how do I actually add a
library? Lets say I want to add library X11, usually it would just be a -l
(dash L).

///////////
// Leo //
///////////


Expand your wine savvy ? and get some great new recipes ? at MSN Wine.
http://wine.msn.com


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Mark K. Kim
AIM: markus kimius
Homepage: http://www.cbreak.org/
Xanga: http://www.xanga.com/vindaci
Friendster: http://www.friendster.com/user.jsp?id=13046
PGP key fingerprint: 7324 BACA 53AD E504 A76E 5167 6822 94F0 F298 5DCE
PGP key available on the homepage

See, as much as I appreciate your response, editing sdl-config doesn’t quite
cut it. Its a binary, as in, no editing. The interface is pretty stupid
too, as I can only see the librarys and such. So how do I actually add a
library? Lets say I want to add library X11, usually it would just be a -l
(dash L).

“sdl-config --libs -Lxll” isn’t a valid call to sdl-config. If you want
to compile your program with the SDL libraries and the X11 libraries you
want to append "sdl-config --libs -Lxll" to your call to GCC (or
whatever).

If you want sdl-config to include X11 when returing to a call for
"sdl-config --libs", open up sdl-config in a text editor and add add
that to the switch case for --libs.

Chris Seaton