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

« back to all changes in this revision

Viewing changes to compiler/systems/i_beos.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_beos.pas,v 1.4 2004/02/22 16:51:50 peter Exp $
3
 
    Copyright (c) 1998-2002 by Peter Vreman
4
 
 
5
 
    This unit implements support information structures for BeOS
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 BeOS. }
23
 
unit i_beos;
24
 
 
25
 
  interface
26
 
 
27
 
    uses
28
 
       systems;
29
 
 
30
 
    const
31
 
       system_i386_beos_info : tsysteminfo =
32
 
          (
33
 
            system       : system_i386_BeOS;
34
 
            name         : 'Beos for i386';
35
 
            shortname    : 'Beos';
36
 
            flags        : [tf_under_development,tf_needs_symbol_size];
37
 
            cpu          : cpu_i386;
38
 
            unit_env     : 'BEOSUNITS';
39
 
            extradefines : 'UNIX;HASUNIX';
40
 
            sourceext    : '.pp';
41
 
            pasext       : '.pas';
42
 
            exeext       : '';
43
 
            defext       : '.def';
44
 
            scriptext    : '.sh';
45
 
            smartext     : '.sl';
46
 
            unitext      : '.ppu';
47
 
            unitlibext   : '.ppl';
48
 
            asmext       : '.s';
49
 
            objext       : '.o';
50
 
            resext       : '.res';
51
 
            resobjext    : '.or';
52
 
            sharedlibext : '.so';
53
 
            staticlibext : '.a';
54
 
            staticlibprefix : 'libp';
55
 
            sharedlibprefix : 'lib';
56
 
            sharedClibext : '.so';
57
 
            staticClibext : '.a';
58
 
            staticClibprefix : 'lib';
59
 
            sharedClibprefix : 'lib';
60
 
            Cprefix      : '';
61
 
            newline      : #10;
62
 
            dirsep       : '/';
63
 
            files_case_relevent : true;
64
 
            assem        : as_gas;
65
 
            assemextern  : as_gas;
66
 
            link         : nil;
67
 
            linkextern   : nil;
68
 
            ar           : ar_gnu_ar;
69
 
            res          : res_none;
70
 
            script       : script_unix;
71
 
            endian       : endian_little;
72
 
            alignment    :
73
 
              (
74
 
                procalign       : 4;
75
 
                loopalign       : 4;
76
 
                jumpalign       : 0;
77
 
                constalignmin   : 0;
78
 
                constalignmax   : 4;
79
 
                varalignmin     : 0;
80
 
                varalignmax     : 4;
81
 
                localalignmin   : 0;
82
 
                localalignmax   : 4;
83
 
                recordalignmin  : 0;
84
 
                recordalignmax  : 2;
85
 
                maxCrecordalign : 4
86
 
              );
87
 
            first_parm_offset : 8;
88
 
            heapsize     : 256*1024;
89
 
            stacksize    : 8192;
90
 
            DllScanSupported:false;
91
 
            use_function_relative_addresses : true
92
 
          );
93
 
 
94
 
  implementation
95
 
 
96
 
initialization
97
 
{$ifdef cpu86}
98
 
  {$ifdef beos}
99
 
    set_source_info(system_i386_beos_info);
100
 
  {$endif beos}
101
 
{$endif cpu86}
102
 
end.
103
 
{
104
 
  $Log: i_beos.pas,v $
105
 
  Revision 1.4  2004/02/22 16:51:50  peter
106
 
    * tf_need_symbol_size added
107
 
 
108
 
  Revision 1.3  2003/11/11 21:48:10  florian
109
 
    * define UNIX and HASUNIX
110
 
 
111
 
  Revision 1.2  2003/10/03 22:09:49  peter
112
 
    * removed paraalign
113
 
 
114
 
  Revision 1.1  2002/09/06 15:03:51  carl
115
 
    * moved files to systems directory
116
 
 
117
 
  Revision 1.2  2002/08/12 15:08:39  carl
118
 
    + stab register indexes for powerpc (moved from gdb to cpubase)
119
 
    + tprocessor enumeration moved to cpuinfo
120
 
    + linker in target_info is now a class
121
 
    * many many updates for m68k (will soon start to compile)
122
 
    - removed some ifdef or correct them for correct cpu
123
 
 
124
 
  Revision 1.1  2002/07/26 21:15:38  florian
125
 
    * rewrote the system handling
126
 
}