~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to packages/extra/amunits/units.txt

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
 
3
 
    Amiga units for fpc.
4
 
 
5
 
    There should not be any problems to use
6
 
    this units in Amiga or in linux.
7
 
 
8
 
    For the ms-dos cross-compiler you have to
9
 
    do some changes.
10
 
 
11
 
    First you have to rename the units to 8.3
12
 
    e.g intuition.pas to intuitio.pas
13
 
    No need to change in the units the compiler
14
 
    will find the units anyway.
15
 
 
16
 
    There are a few you will have problems with,
17
 
    expansion.pas and expansionbase.pas. What
18
 
    you can do is to rename them to expan.pas
19
 
    and expanbas.pas. If a unit uses the old
20
 
    name the compiler will complain so just
21
 
    fix that unit when the problems pops up.
22
 
 
23
 
    The same problem with configregs.pas and
24
 
    configvars.pas, perhaps do cfgvars.pas and
25
 
    cfgregs.pas
26
 
 
27
 
    If you find any bugs or errors in the units
28
 
    please inform me. Address bellow.
29
 
 
30
 
    If you want do translate other libraries to
31
 
    fpc use Fd2Pragma, it's on Aminet. Read the
32
 
    docs for Fd2Pragma on how to make units
33
 
    for fpc. Fd2Pragma translates almost everything
34
 
    correct for fpc. There is one thing you have to
35
 
    do to the new unit, make a search/replace for
36
 
    Cardinal/ULONG. Fpc for Amiga don't handle
37
 
    Cardinals in this version (later), so we have
38
 
    to use ULONG instead. ULONG is typedefed as
39
 
    Longint (in Exec) in a new version of fpc
40
 
    we just have to typedef ULONG as Cardinal.
41
 
    What's left is for you to translate structs
42
 
    and defines.:)
43
 
 
44
 
    There are also two rexx scripts that can be
45
 
    handy, getrecord.rexx and make.rexx. You can
46
 
    use getrecord.rexx to check that you have
47
 
    translated the structs correct. Read more
48
 
    in the scripts headers.
49
 
 
50
 
 
51
 
    Other than that just have fun!
52
 
 
53
 
 
54
 
    nils.sjoholm@mailbox.swipnet.se
55
 
 
56
 
 
57