Mercurial > hg > xemacs-beta
annotate src/m/ibmrs6000.h @ 5927:b58b74274fa2 cygwin
changes from long ago, never committed...
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Wed, 15 Dec 2021 19:02:33 +0000 |
parents | 308d34e9f07d |
children |
rev | line source |
---|---|
428 | 1 /* R2 AIX machine/system dependent defines |
2 Copyright (C) 1988 Free Software Foundation, Inc. | |
3 | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4759
diff
changeset
|
4 This file is part of XEmacs. |
428 | 5 |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4759
diff
changeset
|
6 XEmacs is free software: you can redistribute it and/or modify it |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4759
diff
changeset
|
7 under the terms of the GNU General Public License as published by the |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4759
diff
changeset
|
8 Free Software Foundation, either version 3 of the License, or (at your |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4759
diff
changeset
|
9 option) any later version. |
428 | 10 |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4759
diff
changeset
|
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4759
diff
changeset
|
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4759
diff
changeset
|
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4759
diff
changeset
|
14 for more details. |
428 | 15 |
16 You should have received a copy of the GNU General Public License | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
4759
diff
changeset
|
17 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */ |
428 | 18 |
19 /* Synched up with: FSF 19.31. */ | |
20 | |
21 /* The following line tells the configuration script what sort of | |
22 operating system this machine is likely to run. | |
23 USUAL-OPSYS="aix3-1" */ | |
24 | |
25 /* Now define a symbol for the cpu type, if your compiler | |
26 does not define it automatically. */ | |
27 | |
28 #define IBMR2AIX | |
29 | |
30 #ifdef USG5_4 | |
1330 | 31 /* Just use PDUMP. */ |
428 | 32 #define CANNOT_DUMP |
33 #endif | |
34 | |
35 #ifndef UNEXEC | |
36 #define UNEXEC "unexaix.o" | |
37 #endif | |
38 | |
39 /* Define addresses, macros, change some setup for dump */ | |
40 | |
41 #define NO_REMAP | |
42 | |
43 #ifndef USG5_4 | |
44 #define TEXT_START 0x10000000 | |
452 | 45 #ifdef __64BIT__ |
46 #define DATA_START 0x110000000 /* empirically determined */ | |
47 #else | |
428 | 48 #define DATA_START 0x20000000 |
452 | 49 #endif |
428 | 50 #endif |
51 | |
52 #define N_BADMAG(x) BADMAG(x) | |
53 #define N_TXTOFF(x) A_TEXTPOS(x) | |
54 #define N_SYMOFF(x) A_SYMPOS(x) | |
55 #define A_TEXT_OFFSET(HDR) sizeof(HDR) | |
56 /* #define ADJUST_EXEC_HEADER \ | |
57 unexec_text_start += sizeof(hdr); \ | |
58 unexec_data_start = ohdr.a_dbase | |
59 */ | |
60 #undef ADDR_CORRECT | |
61 #define ADDR_CORRECT(x) ((int)(x)) | |
62 | |
63 /* Specify the font for X to use. | |
64 This used to be Rom14.500; that's nice on the X server shipped with | |
65 the RS/6000, but it's not available on other servers. */ | |
66 #define X_DEFAULT_FONT "fixed" | |
67 | |
68 /* Here override various assumptions in ymakefile */ | |
69 | |
70 #ifndef USG5_4 | |
71 /* XEmacs change -- commented out: dkeller@vnet.ibm.com */ | |
72 /* #define C_SWITCH_MACHINE -D_BSD */ | |
73 #endif | |
74 | |
75 #ifdef AIX3_2 | |
76 /* -lpthreads seems to be necessary for Xlib in X11R6, and should be harmless | |
77 on older versions of X where it happens to exist. */ | |
78 #ifdef HAVE_LIBPTHREADS | |
79 #define LIBS_MACHINE "-lrts -lIM -liconv -lpthreads" | |
80 #else | |
81 /* IBM's X11R5 use -lIM and -liconv in AIX 3.2.2. */ | |
82 #define LIBS_MACHINE "-lrts -lIM -liconv" | |
83 #endif | |
84 #else | |
85 #ifdef USG5_4 | |
86 #define LIBS_MACHINE | |
87 #else | |
88 #define LIBS_MACHINE "-lIM" | |
89 #endif | |
90 #endif | |
91 | |
92 #define START_FILES | |
93 | |
94 /* Don't try to include sioctl.h or ptem.h. */ | |
95 #undef NEED_SIOCTL | |
96 #undef NEED_PTEM_H | |
97 | |
98 #define ORDINARY_LINK |