Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. Compiling FreeType 2 with PureC compiler
  2. ========================================
  3.  
  4. [See below for a German version.]
  5.  
  6. To compile FreeType 2 as a library the following changes must be applied:
  7.  
  8. - All *.c files must start with an uppercase letter.
  9.   (In case GEMSCRIPT is available:
  10.   Simply drag the whole FreeType 2 directory to the file `FNames.SIC'.)
  11.  
  12. - You have to change the INCLUDE directory in PureC's compiler options
  13.   to contain both the `INCLUDE' and `freetype2\include' directory.
  14.   Example:
  15.  
  16.     INCLUDE;E:\freetype2\include
  17.  
  18. - The file `freetype2/include/Ft2build.h' must be patched as follows to
  19.   include ATARI.H:
  20.  
  21.     #ifndef __FT2_BUILD_GENERIC_H__
  22.     #define __FT2_BUILD_GENERIC_H__
  23.  
  24.     #include "ATARI.H"
  25.  
  26.  
  27.  
  28. Compilieren von FreeType 2 mit PureC
  29. ====================================
  30.  
  31. Um FreeType 2 als eine Bibliothek (library) zu compilieren, muss folgendes
  32. ge„ndert werden:
  33.  
  34. - Alle *.c-files mssen mit einem GROSSBUCHSTABEN beginnen.
  35.   (Falls GEMSCRIPT zur Verfgung steht:
  36.   Den kompletten Ordner freetype2 auf die Datei `FNames.SIC' draggen.)
  37.  
  38. - In den Compiler-Optionen von PureC muss das INCLUDE directory auf INCLUDE
  39.   und freetype2\include verweisen. Z.B.:
  40.  
  41.     INCLUDE;E:\freetype2\include
  42.  
  43. - In der Datei freetype2/include/Ft2build.h muss zu Beginn
  44.   ein #include "ATARI.H" wie folgt eingefgt werden:
  45.  
  46.     #ifndef __FT2_BUILD_GENERIC_H__
  47.     #define __FT2_BUILD_GENERIC_H__
  48.  
  49.     #include "ATARI.H"
  50.  
  51. --- end of README.TXT ---
  52.