{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"VisualC","path":"VisualC","contentType":"directory"},{"name":"VisualCE","path":"VisualCE","contentType":"directory"},{"name":"Xcode-iPhoneOS","path":"Xcode-iPhoneOS","contentType":"directory"},{"name":"Xcode","path":"Xcode","contentType":"directory"},{"name":"acinclude","path":"acinclude","contentType":"directory"},{"name":"build-scripts","path":"build-scripts","contentType":"directory"},{"name":"include","path":"include","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":"touchTest","path":"touchTest","contentType":"directory"},{"name":".hgignore","path":".hgignore","contentType":"file"},{"name":".indent.pro","path":".indent.pro","contentType":"file"},{"name":"BUGS","path":"BUGS","contentType":"file"},{"name":"Borland.html","path":"Borland.html","contentType":"file"},{"name":"Borland.zip","path":"Borland.zip","contentType":"file"},{"name":"COPYING","path":"COPYING","contentType":"file"},{"name":"CREDITS","path":"CREDITS","contentType":"file"},{"name":"INSTALL","path":"INSTALL","contentType":"file"},{"name":"Makefile.ds","path":"Makefile.ds","contentType":"file"},{"name":"Makefile.in","path":"Makefile.in","contentType":"file"},{"name":"Makefile.minimal","path":"Makefile.minimal","contentType":"file"},{"name":"Makefile.pandora","path":"Makefile.pandora","contentType":"file"},{"name":"Makefile.wiz","path":"Makefile.wiz","contentType":"file"},{"name":"NOTES","path":"NOTES","contentType":"file"},{"name":"README","path":"README","contentType":"file"},{"name":"README-SDL.txt","path":"README-SDL.txt","contentType":"file"},{"name":"README.BeOS","path":"README.BeOS","contentType":"file"},{"name":"README.DirectFB","path":"README.DirectFB","contentType":"file"},{"name":"README.HG","path":"README.HG","contentType":"file"},{"name":"README.MacOSX","path":"README.MacOSX","contentType":"file"},{"name":"README.PS3","path":"README.PS3","contentType":"file"},{"name":"README.Porting","path":"README.Porting","contentType":"file"},{"name":"README.QNX","path":"README.QNX","contentType":"file"},{"name":"README.RISCOS","path":"README.RISCOS","contentType":"file"},{"name":"README.Watcom","path":"README.Watcom","contentType":"file"},{"name":"README.WinCE","path":"README.WinCE","contentType":"file"},{"name":"README.iphoneos","path":"README.iphoneos","contentType":"file"},{"name":"README.pandora","path":"README.pandora","contentType":"file"},{"name":"SDL.spec.in","path":"SDL.spec.in","contentType":"file"},{"name":"TODO","path":"TODO","contentType":"file"},{"name":"UNDER_CONSTRUCTION.txt","path":"UNDER_CONSTRUCTION.txt","contentType":"file"},{"name":"VisualC.html","path":"VisualC.html","contentType":"file"},{"name":"Watcom-Win32.zip","path":"Watcom-Win32.zip","contentType":"file"},{"name":"WhatsNew","path":"WhatsNew","contentType":"file"},{"name":"autogen.sh","path":"autogen.sh","contentType":"file"},{"name":"configure.in","path":"configure.in","contentType":"file"},{"name":"sdl-config.in","path":"sdl-config.in","contentType":"file"},{"name":"sdl.m4","path":"sdl.m4","contentType":"file"},{"name":"sdl.pc.in","path":"sdl.pc.in","contentType":"file"}],"totalCount":49}},"fileTreeProcessingTime":4.284651,"foldersToFetch":[],"repo":{"id":337752652,"defaultBranch":"main","name":"SDL-historical-archive","ownerLogin":"libsdl-org","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-02-10T14:40:23.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/77683370?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"55be1ebebb781c343c98bcf26415afa0c81c98c2","listCacheKey":"v0:1612970265.696589","canEdit":false,"refType":"tree","currentOid":"55be1ebebb781c343c98bcf26415afa0c81c98c2"},"path":"Borland.html","currentUser":null,"blob":{"rawLines":["","","
","Unzip the Borland.zip archive into this directory. Do not unzip "," it into any other directory because the makefiles ( *.mak ) and project "," files ( *.bpr ) use relative paths to refer to the SDL sources. This should "," create a directory named \"Borland\" inside of the top level SDL source directory. ","
"," "," Inside of the \"Borland\" directory there is a \"bcb6\" directory that contains "," a number of Builder project files. Double-click on the \"libSDL.bpg\" file "," icon. Once Builder has started click on the \"Projects\" menu on ","the menu-bar and go down to \"Build All Projects\" option.
"," This will proceed to build SDL ( with Borland's calling convention ), ","SDLmain, and all the test programs. Currently, all ","the test programs are dynamically linked to Sam Lantinga's ","SDL.dll.
NOTE : Borland's \"lib\" format and Microsoft's \"lib\" format are incompatible.","
"," If you wish to dynamically link to the SDL library supplied by Sam Lantinga "," in each release, I have created the correct *.libs for SDL 1.2.4 and they "," exist in the \"/lib\" directory.
"," If you would like to create the *.lib files yourself, you will need to ","make use of Borland's \"implib.exe\" utility.
","
IMPLIB works like this:
"," ","IMPLIB (destination lib name) (source dll)"," ","
For example,
"," ","IMPLIB SDL.lib SDL.dll"," ","
This assumes that SDL.dll was compiled with Visual C++ or similar.
","
To learn more about the difference between Borland's and Microsoft's *.lib "," format please read the article here.
","
"," NOTE : The C++ Builder for Windows project format, is not compatible"," with the Kylix 3 project format, hence the reason why they are in separate"," directories.
The free Borland compiler can be downloaded at no charge from the Borland website "," . Make sure that it is installed and properly configured.
"," ","Open an MS-DOS Prompt. Change to the \"Borland\\freebcc\" directory under "," the SDL source directory. Type \"make -f SDL.mak\" to build SDL and \"make "," -f SDLmain.mak\". There are also makefiles for all of the test programs, if you wish to build them. All .exes and ","DLLs are created in the \"test\" SDL directory. Ify ou would like to create ","the DLL and all the test applications, I have thrown together a basic batchfile ","called \"makeall.bat\" which should create everything in the right order.
"," "," Inside of the \"Borland\" directory there is a \"k3\" directory that contains "," a number of Builder project files. Double-click on the \"libSDL.bpg\" file "," icon. Once Builder has started click on the \"Projects\" menu on ","the menu-bar and go down to \"Build All Projects\" option. This will ","proceed to build all the test programs.
"," Linux users do not need *.lib files as the Shared Object is linked right "," into the project ( very neat actually, Windows should do this sort of thing "," as it is a lot easier for the developer ).
"," NOTE : The C++ Builder for Windows project format, is not"," compatible with the Kylix 3 project format, hence the reason why they are"," in separate directories.
On Mandrake 8.1 the shared objects for SDL are located in the /usr/lib "," directory as libSDL_*.so and the Mesa OpenGL shared objects are located ","in /usr/X11R6/lib as libGL*.so
","
"," So if your setup is different you may need to change the project file"," so that they re-link to the ones on your system.
","
"," On Mandrake 8.1 the headers files are located at /usr/include/SDL/."," So if you you have not installed the development RPMs ( usually named libSDL-devel*"," ) for SDL ( not included ) you may have to change the include directory"," within some of the projects.
","