home *** CD-ROM | disk | FTP | other *** search
/ RISCWORLD 7 / RISCWORLD_VOL7.iso / Software / Issue4 / SDL / gcc346 / !SDL / !Help < prev    next >
Encoding:
Text File  |  2006-09-25  |  1.9 KB  |  58 lines

  1. This is the RISC OS port of SDL and some of the libraries based
  2. upon it.
  3.  
  4. The libraries were all built using the autobuilder cross-compiled
  5. using the GCCSDK against UnixLib.
  6.  
  7. See www.riscos.info for more information on the GCCSDK and
  8. the autobuilder.
  9.  
  10. To use the main SDL library add -ISDL:include if the
  11. headers are specified using the SDL subdirectory or
  12. -I/SDL:include/SDL if just using the header names.
  13.  
  14. Link using -LSDL:lib -lSDL
  15.  
  16. Other libraries may be required from the !LibU application
  17. for some of the additional SDL based libraries. In this
  18. case you will have to add -LLibU:lib and the libraries to
  19. the link line.
  20.  
  21. Examples:
  22.  
  23. Compiling the playmus.c SDL_Mixer example:
  24.  
  25. gcc -I/SDL:include/SDL -LSDL:lib -LLibU:lib -lSDL -lSDL_mixer
  26.   -lvorbis -logg -lvorbisfile -lvorbisenc -o playmusic playmus.c
  27.  
  28. Compiling the showimage.c SDL_Image example:
  29.  
  30. gcc -I/SDL:include/SDL -LSDL:lib -LLibU:lib -lSDL_Image -lSDL
  31.   -ltiff -ljpeg -lpng12 -lz -o showimage showimage.c
  32.  
  33. (Note the above should only be on one line and have been
  34. split here for clarity)
  35.  
  36. The most common documents have been copied to the doc
  37. subdirectory.
  38.  
  39. The sources for the libraries whose license requires the
  40. source to be available are in a companion zip file that
  41. should be available in the same location you downloaded
  42. this from. It is normally named sdl-xxx-src.zip, where
  43. xxx is the version number.
  44.  
  45. These source zip files may include extra documentation
  46. and examples.
  47.  
  48. Alan Buckley (alan_baa@hotmail.com)
  49.  
  50. The SDL based libraries included in this file are:
  51. libsdl1.2-1.2.11 Allows programs portable low level access to a video, audio, mouse, and keyboard
  52. sdl-image1.2-1.2.5 development files for SDL 1.2 image loading libray
  53. sdl-mixer1.2-1.2.6 development files for SDL1.2 mixer library
  54. libsdl-sound1.2-1.0.1 Development files for SDL_sound
  55. sdl-ttf2.0-2.0.8 development files for SDL ttf library (version 2.0)
  56. sdl-net1.2-1.2.5  Development files for SDL network library
  57. sdlgfx-2.0.13 development files for SDL_gfx
  58.