[SDL] Compiling dynamic libraries into my C program

jclark jclark at ccpu.com
Sun Nov 7 09:07:23 PST 2004


When you compile you can use the -R <path-to-your-lib> runtime linking flag and supply your own library. The idea is that your product will use the supplied and 'tested' library, but they can use newer libraries by replacing yours with a link to their own. A company I contract for uses this to allow the user their required flexibility (giving them the ability to shoot themselves in the foot by using their favorite libs) while allowing us to fully test and support specific libraries.
Just one way,
Jason.

> -----Original Message-----
> From: sdl-bounces+jclark=ccpu.com at libsdl.org [mailto:sdl-
> bounces+jclark=ccpu.com at libsdl.org] On Behalf Of buding at daimi.au.dk
> Sent: Sunday, November 07, 2004 3:07 AM
> To: sdl at libsdl.org
> Subject: [SDL] Compiling dynamic libraries into my C program
> 
> Hello all,
> 
> I'm writing a game with SDL, and want to be able to run it on a machine
> without
> SDL installed. I gather, that I need to compile it in a special way, but
> which...?
> 
> Thanks in advance :)
> 
> -Andreas
> 
> 
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.788 / Virus Database: 533 - Release Date: 11/1/2004
> 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 11/1/2004
 




More information about the SDL mailing list