home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / gdb-4.9 / gdb / config / i386 / ncr3000.mh < prev    next >
Encoding:
Text File  |  1993-05-12  |  1.6 KB  |  44 lines

  1. # Host: Intel 386 running SVR4.
  2.  
  3. # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
  4. # This compiler not only emits obnoxious copyright messages every time
  5. # you run it, but it chokes and dies on a whole bunch of GNU source
  6. # files.  Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
  7. # Unfortunately though, the AT&T compiler sometimes generates code that
  8. # the assembler barfs on if -g is used, so disable it by default as well.
  9. CC = /usr/ccs/ATT/cc
  10. CFLAGS =
  11.  
  12. SYSV_DEFINE=-DSYSV
  13. REGEX=regex.o
  14. REGEX1=regex.o
  15.  
  16. # Need to compile and link in support for SVR4's /proc and i386 host dependent
  17. # routines.
  18. XDEPFILES= 
  19.  
  20. # Use the i386 SVR4 host configuration file.
  21. XM_FILE= xm-i386v4.h
  22.  
  23. NAT_FILE= nm-i386v4.h
  24. NATDEPFILES= corelow.o core-svr4.o exec.o procfs.o fork-child.o i386v4-nat.o
  25.  
  26. # We need to find alloca() somewhere.  Gcc has one built in, but most other
  27. # compilers don't.  Using the one in /usr/ucblib/libucb.a is tricky because
  28. # we have to be careful not to pull in anything else from the library (lots
  29. # of things are broken in most SVR4 versions).  The best solution is to just
  30. # compile alloca.c and link it into the executable.  If we end up not needing
  31. # it, then the code is just dead.  Once alloca.c moves to libiberty, then we
  32. # can eliminate this semi-kludge.
  33. ALLOCA=alloca.o
  34. ALLOCA1=alloca.o
  35.  
  36. # SVR4 comes standard with terminfo, and in some implementations, the
  37. # old termcap descriptions are incomplete.  So ensure that we use the
  38. # new terminfo interface and latest terminal descriptions.
  39. TERMCAP=-ltermlib
  40.  
  41. # The /usr/ucb/install program is incompatible (complains about unknown
  42. # group staff).  Use good old cp...
  43. INSTALL = cp
  44.