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

« back to all changes in this revision

Viewing changes to compiler/systems/i_os2.pas

  • 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
 
    $Id: i_os2.pas,v 1.4 2004/05/16 20:41:19 hajny Exp $
3
 
    Copyright (c) 1998-2002 by Peter Vreman
4
 
 
5
 
    This unit implements support information structures for OS/2
6
 
 
7
 
    This program is free software; you can redistribute it and/or modify
8
 
    it under the terms of the GNU General Public License as published by
9
 
    the Free Software Foundation; either version 2 of the License, or
10
 
    (at your option) any later version.
11
 
 
12
 
    This program is distributed in the hope that it will be useful,
13
 
    but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
    GNU General Public License for more details.
16
 
 
17
 
    You should have received a copy of the GNU General Public License
18
 
    along with this program; if not, write to the Free Software
19
 
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
 
 ****************************************************************************
21
 
}
22
 
{ This unit implements support information structures for OS/2. }
23
 
unit i_os2;
24
 
 
25
 
  interface
26
 
 
27
 
    uses
28
 
       systems;
29
 
 
30
 
    const
31
 
       res_emxbind_info : tresinfo =
32
 
          (
33
 
            id     : res_emxbind;
34
 
            resbin : 'emxbind';
35
 
            rescmd : '-b -r $RES $OBJ'
36
 
            (* Not really used - see TLinkeros2.SetDefaultInfo in t_os2.pas. *)
37
 
          );
38
 
 
39
 
       system_i386_os2_info : tsysteminfo =
40
 
          (
41
 
            system       : system_i386_OS2;
42
 
            name         : 'OS/2';
43
 
            shortname    : 'OS2';
44
 
            flags        : [tf_need_export];
45
 
            cpu          : cpu_i386;
46
 
            unit_env     : 'OS2UNITS';
47
 
            extradefines : '';
48
 
            sourceext    : '.pas';
49
 
            pasext       : '.pp';
50
 
            exeext       : '.exe';
51
 
            defext       : '.def';
52
 
            scriptext    : '.cmd';
53
 
            smartext     : '.sl';
54
 
            unitext      : '.ppu';
55
 
            unitlibext   : '.ppl';
56
 
            asmext       : '.s';
57
 
            objext       : '.o';
58
 
            resext       : '.res';
59
 
            resobjext    : '.or';
60
 
            sharedlibext : '.dll';
61
 
            staticlibext : '.a';
62
 
            staticlibprefix : '';
63
 
            sharedlibprefix : '';
64
 
            sharedClibext : '.dll';
65
 
            staticClibext : '.a';
66
 
            staticClibprefix : '';
67
 
            sharedClibprefix : '';
68
 
            Cprefix      : '_';
69
 
            newline      : #13#10;
70
 
            dirsep       : '\';
71
 
            files_case_relevent : false;
72
 
            assem        : as_i386_as_aout;
73
 
            assemextern  : as_i386_as_aout;
74
 
            link         : nil;
75
 
            linkextern   : nil;
76
 
            ar           : ar_gnu_ar;
77
 
            res          : res_emxbind;
78
 
            script       : script_dos;
79
 
            endian       : endian_little;
80
 
            alignment    :
81
 
              (
82
 
                procalign       : 4;
83
 
                loopalign       : 4;
84
 
                jumpalign       : 0;
85
 
                constalignmin   : 0;
86
 
                constalignmax   : 4;
87
 
                varalignmin     : 0;
88
 
                varalignmax     : 4;
89
 
                localalignmin   : 0;
90
 
                localalignmax   : 4;
91
 
                recordalignmin  : 0;
92
 
                recordalignmax  : 2;
93
 
                maxCrecordalign : 4
94
 
              );
95
 
            first_parm_offset : 8;
96
 
            heapsize     : 256*1024;
97
 
            stacksize    : 256*1024;
98
 
            DllScanSupported: false;
99
 
            use_function_relative_addresses : false
100
 
          );
101
 
 
102
 
 
103
 
  implementation
104
 
 
105
 
initialization
106
 
{$ifdef CPU86}
107
 
  {$ifdef os2}
108
 
    {$IFNDEF EMX}
109
 
      set_source_info(system_i386_os2_info);
110
 
    {$ENDIF EMX}
111
 
    {$IFDEF VER1_0}
112
 
      set_source_info(system_i386_os2_info);
113
 
    {$ENDIF VER1_0}
114
 
  {$endif os2}
115
 
{$endif CPU86}
116
 
end.
117
 
{
118
 
  $Log: i_os2.pas,v $
119
 
  Revision 1.4  2004/05/16 20:41:19  hajny
120
 
    * fix for IE
121
 
 
122
 
  Revision 1.3  2003/10/03 22:09:49  peter
123
 
    * removed paraalign
124
 
 
125
 
  Revision 1.2  2003/03/23 23:31:54  hajny
126
 
    + platform extensions unified
127
 
 
128
 
  Revision 1.1  2002/09/06 15:03:51  carl
129
 
    * moved files to systems directory
130
 
 
131
 
  Revision 1.2  2002/08/12 15:08:39  carl
132
 
    + stab register indexes for powerpc (moved from gdb to cpubase)
133
 
    + tprocessor enumeration moved to cpuinfo
134
 
    + linker in target_info is now a class
135
 
    * many many updates for m68k (will soon start to compile)
136
 
    - removed some ifdef or correct them for correct cpu
137
 
 
138
 
  Revision 1.1  2002/07/26 21:15:38  florian
139
 
    * rewrote the system handling
140
 
}