misc/libfreetype/builds/atari/README.TXT
author koda
Sun, 04 Nov 2012 03:04:20 +0100
branchwebgl
changeset 7961 620331af6b9a
parent 5172 88f2e05288ba
permissions -rw-r--r--
pas2c can search for inc files in alternate folders (needed for out of source builds)

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 `freetype2/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 mssen mit einem GROSSBUCHSTABEN beginnen.
  (Falls GEMSCRIPT zur Verfgung 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 freetype2/include/Ft2build.h muss zu Beginn
  ein #include "ATARI.H" wie folgt eingefgt werden:

    #ifndef __FT2_BUILD_GENERIC_H__
    #define __FT2_BUILD_GENERIC_H__

    #include "ATARI.H"

--- end of README.TXT ---