misc/libfreetype/builds/atari/README.TXT
author koda
Mon, 07 May 2012 10:51:32 +0200
changeset 7029 efbe6400fc24
parent 5172 88f2e05288ba
permissions -rw-r--r--
add support for FPC and FPFLAGS cmake arguments (helps crosscompiling)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5172
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     1
Compiling FreeType 2 with PureC compiler
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     2
========================================
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     3
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     4
[See below for a German version.]
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     5
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     6
To compile FreeType 2 as a library the following changes must be applied:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     7
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     8
- All *.c files must start with an uppercase letter.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     9
  (In case GEMSCRIPT is available:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    10
  Simply drag the whole FreeType 2 directory to the file `FNames.SIC'.)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    11
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    12
- You have to change the INCLUDE directory in PureC's compiler options
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    13
  to contain both the `INCLUDE' and `freetype2\include' directory.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    14
  Example:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    15
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    16
    INCLUDE;E:\freetype2\include
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    17
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    18
- The file `freetype2/include/Ft2build.h' must be patched as follows to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    19
  include ATARI.H:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    20
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    21
    #ifndef __FT2_BUILD_GENERIC_H__
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    22
    #define __FT2_BUILD_GENERIC_H__
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    23
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    24
    #include "ATARI.H"
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    25
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    26
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    27
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    28
Compilieren von FreeType 2 mit PureC
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    29
====================================
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    30
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    31
Um FreeType 2 als eine Bibliothek (library) zu compilieren, muss folgendes
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    32
ge„ndert werden:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    33
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    34
- Alle *.c-files mssen mit einem GROSSBUCHSTABEN beginnen.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    35
  (Falls GEMSCRIPT zur Verfgung steht:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    36
  Den kompletten Ordner freetype2 auf die Datei `FNames.SIC' draggen.)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    37
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    38
- In den Compiler-Optionen von PureC muss das INCLUDE directory auf INCLUDE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    39
  und freetype2\include verweisen. Z.B.:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    40
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    41
    INCLUDE;E:\freetype2\include
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    42
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    43
- In der Datei freetype2/include/Ft2build.h muss zu Beginn
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    44
  ein #include "ATARI.H" wie folgt eingefgt werden:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    45
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    46
    #ifndef __FT2_BUILD_GENERIC_H__
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    47
    #define __FT2_BUILD_GENERIC_H__
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    48
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    49
    #include "ATARI.H"
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    50
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    51
--- end of README.TXT ---