Mercurial > emacs
annotate src/s/sol2.h @ 2318:50737ca2fd45
Decide automatically whether to use COFF or ELF.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Mon, 22 Mar 1993 19:50:35 +0000 |
| parents | e49c2e6349e4 |
| children | 1d72336294c6 |
| rev | line source |
|---|---|
| 1179 | 1 #include "s-usg5-4.h" |
| 2 | |
| 3 #define POSIX | |
| 4 | |
|
1584
fed9a9ee5156
* s/sol2.h (LD_SWITCH_SYSTEM): Add -R option.
Jim Blandy <jimb@redhat.com>
parents:
1179
diff
changeset
|
5 /* Here is how to find X Windows. The -L option tells the linker where |
|
fed9a9ee5156
* s/sol2.h (LD_SWITCH_SYSTEM): Add -R option.
Jim Blandy <jimb@redhat.com>
parents:
1179
diff
changeset
|
6 to find the libraries at link time, the -R option at run time. */ |
|
1638
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
7 #define C_SWITCH_X_SYSTEM -I/usr/openwin/include |
|
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
8 #ifndef __GNUC__ |
|
1584
fed9a9ee5156
* s/sol2.h (LD_SWITCH_SYSTEM): Add -R option.
Jim Blandy <jimb@redhat.com>
parents:
1179
diff
changeset
|
9 #define LD_SWITCH_SYSTEM -L/usr/openwin/lib -R/usr/openwin/lib |
|
1638
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
10 #else /* GCC */ |
|
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
11 #define LD_SWITCH_SYSTEM -L/usr/openwin/lib -Xlinker -R/usr/openwin/lib |
|
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
12 #endif /* GCC */ |
| 1179 | 13 |
| 14 /* Compile in non-ansi fashion to work around bugs in system header files. */ | |
| 15 #ifndef __GNUC__ | |
| 16 #define C_SWITCH_SYSTEM -Xs | |
| 17 #else /* GCC */ | |
| 18 #define C_SWITCH_SYSTEM -traditional | |
| 19 #endif /* GCC */ |
