comparison src/s/hpux8.h @ 7689:48867d3871d5

(LD_SWITCH_SYSTEM): Put back -Xlinker for GCC.
author Richard M. Stallman <rms@gnu.org>
date Thu, 26 May 1994 08:52:27 +0000
parents ff5fcf65ceaa
children 1b7a7e2fc4df
comparison
equal deleted inserted replaced
7688:ab6b8aa5002e 7689:48867d3871d5
18 Note GCC automatically passes -a archive to ld, and it has its own 18 Note GCC automatically passes -a archive to ld, and it has its own
19 conflicting -a. */ 19 conflicting -a. */
20 #ifdef __GNUC__ 20 #ifdef __GNUC__
21 /* No need to specify roundabout way of linking temacs. */ 21 /* No need to specify roundabout way of linking temacs. */
22 #define ORDINARY_LINK 22 #define ORDINARY_LINK
23
24 #ifdef HPUX_USE_SHLIBS
25 #define LD_SWITCH_SYSTEM -L/usr/lib/X11R5 -L/usr/lib/X11R4
26 #else
27 #define LD_SWITCH_SYSTEM -Xlinker -a -Xlinker archive -L/usr/lib/X11R5 -L/usr/lib/X11R4
23 #endif 28 #endif
24 29
25 #if ! defined (__GNUC__) && (defined(hp9000s700) || defined(__hp9000s700)) 30 #else /* not __GNUC__ */
31 #if (defined(hp9000s700) || defined(__hp9000s700))
26 #ifdef HPUX_USE_SHLIBS 32 #ifdef HPUX_USE_SHLIBS
27 #define LD_SWITCH_SYSTEM -L/lib/pa1.1 -L/usr/lib/X11R5 -L/usr/lib/X11R4 33 #define LD_SWITCH_SYSTEM -L/lib/pa1.1 -L/usr/lib/X11R5 -L/usr/lib/X11R4
28 #else 34 #else
29 #define LD_SWITCH_SYSTEM -a archive -L/lib/pa1.1 -L/usr/lib/X11R5 -L/usr/lib/X11R4 35 #define LD_SWITCH_SYSTEM -a archive -L/lib/pa1.1 -L/usr/lib/X11R5 -L/usr/lib/X11R4
30 #endif 36 #endif
31 #else /* __GNUC__ or not (defined(hp9000s700) || defined(__hp9000s700)) */ 37 #else /* not (defined(hp9000s700) || defined(__hp9000s700)) */
32 #ifdef HPUX_USE_SHLIBS 38 #ifdef HPUX_USE_SHLIBS
33 #define LD_SWITCH_SYSTEM -L/usr/lib/X11R5 -L/usr/lib/X11R4 39 #define LD_SWITCH_SYSTEM -L/usr/lib/X11R5 -L/usr/lib/X11R4
34 #else 40 #else
35 #define LD_SWITCH_SYSTEM -a archive -L/usr/lib/X11R5 -L/usr/lib/X11R4 41 #define LD_SWITCH_SYSTEM -a archive -L/usr/lib/X11R5 -L/usr/lib/X11R4
36 #endif 42 #endif
37 #endif /* __GNUC__ or not (defined(hp9000s700) || defined(__hp9000s700)) */ 43 #endif /* not (defined(hp9000s700) || defined(__hp9000s700)) */
44 #endif /* not __GNUC__ */
38 45
39 /* Some hpux 8 machines seem to have TIOCGWINSZ, 46 /* Some hpux 8 machines seem to have TIOCGWINSZ,
40 and none have sioctl.h, so might as well define this. */ 47 and none have sioctl.h, so might as well define this. */
41 #define NO_SIOCTL_H 48 #define NO_SIOCTL_H
42 49