Mercurial > emacs
annotate src/s/aix3-2.h @ 6127:df18a19a047d
Use -g with the native compiler.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 02 Mar 1994 03:19:12 +0000 |
parents | 2cc554082ffc |
children | 64fe0cc0138e |
rev | line source |
---|---|
1898 | 1 /* s- file for building Emacs on AIX 3.2. */ |
2 | |
3 #include "aix3-1.h" | |
4 | |
4710 | 5 #define AIX3_2 |
6 | |
1898 | 7 /* No need to define this--the header files indicate X11R4, |
8 and that's supposedly what 3.2 will come with. */ | |
9 #undef SPECIFY_X11R4 | |
10 | |
3156
ec142b6ddb34
* s/aix3-2.h (C_SWITCH_SYSTEM): Don't define this to be "-ma" if
Jim Blandy <jimb@redhat.com>
parents:
2470
diff
changeset
|
11 #ifndef __GNUC__ |
1898 | 12 #define C_SWITCH_SYSTEM -ma |
3156
ec142b6ddb34
* s/aix3-2.h (C_SWITCH_SYSTEM): Don't define this to be "-ma" if
Jim Blandy <jimb@redhat.com>
parents:
2470
diff
changeset
|
13 #endif |
1898 | 14 #define HAVE_ALLOCA |
15 #undef rindex | |
16 #undef index | |
2280
bd56d208ed22
* fileio.c (HAVE_FSYNC): Define, if appropriate.
Jim Blandy <jimb@redhat.com>
parents:
1898
diff
changeset
|
17 |
bd56d208ed22
* fileio.c (HAVE_FSYNC): Define, if appropriate.
Jim Blandy <jimb@redhat.com>
parents:
1898
diff
changeset
|
18 #define HAVE_FSYNC |
2470
6643737d26ae
* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
Jim Blandy <jimb@redhat.com>
parents:
2280
diff
changeset
|
19 |
6643737d26ae
* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
Jim Blandy <jimb@redhat.com>
parents:
2280
diff
changeset
|
20 /* With this defined, a gcc-compiled Emacs crashed in realloc under AIX |
6643737d26ae
* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
Jim Blandy <jimb@redhat.com>
parents:
2280
diff
changeset
|
21 3.2, and a cc-compiled Emacs works with this undefined. |
6643737d26ae
* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
Jim Blandy <jimb@redhat.com>
parents:
2280
diff
changeset
|
22 --karl@cs.umb.edu. */ |
6643737d26ae
* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
Jim Blandy <jimb@redhat.com>
parents:
2280
diff
changeset
|
23 #undef SYSTEM_MALLOC |
6127
df18a19a047d
Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents:
4710
diff
changeset
|
24 |
df18a19a047d
Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents:
4710
diff
changeset
|
25 /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g" |
df18a19a047d
Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents:
4710
diff
changeset
|
26 because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because |
df18a19a047d
Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents:
4710
diff
changeset
|
27 "cc -g" crashes. Go figure. --floppy@merlin.mit.edu */ |
df18a19a047d
Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents:
4710
diff
changeset
|
28 #ifndef __GNUC__ |
df18a19a047d
Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents:
4710
diff
changeset
|
29 #define C_SWITCH_DEBUG -g |
df18a19a047d
Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents:
4710
diff
changeset
|
30 #define C_SWITCH_OPTIMIZE |
df18a19a047d
Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents:
4710
diff
changeset
|
31 #endif |