Mercurial > emacs
annotate src/m/news-risc.h @ 17623:a09fd9348b0d
Support compilers that give a message each time the file being
compiled changes but don't include a file name each error message.
Speed up by searching for regexps one by one instead of combining.
(compile-internal): Takes more optional arguments. All five regexp
alists can be given as argument.
Change name of variable regexp-alist to error-regexp-alist. Change
some local variables directly by setq instead of rebinding by let.
(compilation-shell-minor-mode): New minor mode.
Similar to compilation-minor-mode, but key bindings don't
collide with shell mode.
(compilation-shell-minor-mode-map, compilation-shell-minor-mode):
New variables.
(compile-auto-highlight): Doc fix.
(compilation-error-regexp-alist): Removed unnecessary line break
in first regexp. Replaced \\(\\|.* on \\) by \\(.* on \\)? in
regexp for Absoft FORTRAN 77 Compiler 3.1.3. Added regexp for
SPARCcompiler Pascal. Divided long line in regexp for Cray C
compiler error messages. Made comment fit in line at regexp for
Sun Ada (VADS, Solaris). FILE-IDX may be nil, meaning an
error message with no file name, so the file name must be taken
from an earlier message. LINE-IDX may be a function which is
called with two arguments the file name and column strings and
returns an error position descriptor.
(compilation-enter-directory-regexp-alist)
(compilation-leave-directory-regexp-alist): New variables.
(compilation-file-regexp-alist)
(compilation-nomessage-regexp-alist): New variables.
(grep-regexp-alist): Removed unnecessary ^ at beginning of regexp.
(compilation-enter-directory-regexp)
(compilation-leave-directory-regexp): Variables deleted.
Replaced by compilation-enter-directory-regexp-alist and
compilation-leave-directory-regexp-alist.
(compilation-buffer-p): Return true also for buffer in
compilation-shell-minor-mode.
(compilation-next-error-locus): Split a long line.
(count-regexp-groupings): Comment about this function not being
needed any more.
(compilation-current-file, compilation-regexps); New variables.
(compilation-parse-errors): Large parts rewritten. Don't put the
regexps together in one large regexp, instead match them one by one.
Support the generalized subexpression indices.
(compile-collect-regexps, compile-buffer-substring): New functions
supporting compilation-parse-errors.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 03 May 1997 04:37:52 +0000 |
parents | b6301bd38638 |
children | 47152260ac4c |
rev | line source |
---|---|
457 | 1 /* news-risc.h is for the "RISC News". */ |
2 | |
3 #include "mips.h" | |
4 | |
6045
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
5 #ifdef NEWSOS5 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
6 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
7 /* NEWS-OS 5.0.2 */ |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
8 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
9 #define LIBS_MACHINE -lmld |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
10 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
11 #ifdef __GNUC__ |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
12 #define C_DEBUG_SWITCH -g |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
13 #define C_OPTIMIZE_SWITCH -g -O |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
14 #define LD_SWITCH_MACHINE -g -Xlinker -D -Xlinker 800000 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
15 #else |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
16 #define C_DEBUG_SWITCH -g3 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
17 #define C_OPTIMIZE_SWITCH -g3 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
18 #define LD_SWITCH_MACHINE -g3 -D 800000 -non_shared |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
19 #endif |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
20 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
21 #else /* not NEWSOS5 */ |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
22 |
457 | 23 /* The following line tells the configuration script what sort of |
24 operating system this machine is likely to run. | |
25 USUAL-OPSYS="bsd4-3" */ | |
26 | |
27 #define COFF | |
28 #undef LD_SWITCH_MACHINE | |
29 #define LD_SWITCH_MACHINE -x -D 800000 | |
30 | |
31 /* #define C_OPTIMIZE_SWITCH -O2 */ | |
32 #define C_OPTIMIZE_SWITCH -O | |
33 | |
8066
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
34 #ifndef __GNUC__ |
457 | 35 #define C_DEBUG_SWITCH -g3 |
8066
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
36 #endif |
457 | 37 |
38 #undef TERMINFO | |
3520 | 39 |
40 /* We have no mode_t. */ | |
41 #define NO_MODE_T | |
42 | |
3819 | 43 /* Don't use the definitions in m/mips.h. */ |
3520 | 44 #undef LINKER |
3819 | 45 #undef LIBS_MACHINE |
6045
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
46 #define LIBS_MACHINE -lmld |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
47 |
8066
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
48 #undef KERNEL_FILE |
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
49 #define KERNEL_FILE "/vmunix" |
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
50 |
6045
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
51 #endif /* not NEWSOS5 */ |