[SDL] Libraries and Borland's free c++ compiler

Enzo enzogupi at interfree.it
Fri May 30 07:27:02 PDT 2003


>I wish to use Borland's Free C++ Compiler (BCC) to make Windows version
>of my game. I have downloaded binaries and source code for various
>add-on libraries:
>
>sdl_mixer
>sdl_image
>sdl_net

Uh, I'm currently doing it! Here's how:

1) to compile SDL_main.c

   C:\bcc55\bin\bcc32 -M -c -tW -DWIN32 -IC:\BCC55\INCLUDE -I..\DIDLIB\SDL SDL_main.c

2) to import SDL's runtimes DLLs

   C:\bcc55\bin\implib -a -c SDL.LIB SDL.DLL
   C:\bcc55\bin\implib -a -c SDL_TTF.LIB SDL_TTF.DLL
   C:\bcc55\bin\implib -a -c SDL_mixer.LIB SDL_mixer.DLL

3) to link program:

   C:\bcc55\bin\ilink32 -LC:\BCC55\LIB -aa -Tpe -c myprog.obj sdl.lib import32.lib c0

I hope that will help you.

Bye,
Enzo.





More information about the SDL mailing list