summaryrefslogtreecommitdiffstats
path: root/modules/freetype2/builds/atari/README.TXT
blob: 1300817b2617f1b1f0c6ea4349d94d32dc6c84ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Compiling FreeType 2 with PureC compiler
========================================

[See below for a German version.]

To compile FreeType 2 as a library the following changes must be applied:

- All *.c files must start with an uppercase letter.
  (In case GEMSCRIPT is available:
  Simply drag the whole FreeType 2 directory to the file `FNames.SIC'.)

- You have to change the INCLUDE directory in PureC's compiler options
  to contain both the `INCLUDE' and `freetype2\include' directory.
  Example:

    INCLUDE;E:\freetype2\include

- The file `freetype/include/Ft2build.h' must be patched as follows to
  include ATARI.H:

    #ifndef FT2_BUILD_GENERIC_H_
    #define FT2_BUILD_GENERIC_H_

    #include "ATARI.H"



Compilieren von FreeType 2 mit PureC
====================================

Um FreeType 2 als eine Bibliothek (library) zu compilieren, muss folgendes
ge�ndert werden:

- Alle *.c-files m�ssen mit einem GROSSBUCHSTABEN beginnen.
  (Falls GEMSCRIPT zur Verf�gung steht:
  Den kompletten Ordner freetype2 auf die Datei `FNames.SIC' draggen.)

- In den Compiler-Optionen von PureC muss das INCLUDE directory auf INCLUDE
  und freetype2\include verweisen. Z.B.:

    INCLUDE;E:\freetype2\include

- In der Datei freetype/include/Ft2build.h muss zu Beginn
  ein #include "ATARI.H" wie folgt eingef�gt werden:

    #ifndef FT2_BUILD_GENERIC_H_
    #define FT2_BUILD_GENERIC_H_

    #include "ATARI.H"

--- end of README.TXT ---