home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / plbin.zip / pl / src / md-os2.h < prev    next >
Text File  |  1993-02-23  |  2KB  |  59 lines

  1. /*  md-os2.h,v 1.0 1993/02/16 
  2.  
  3.     Copyright (c) 1990 Jan Wielemaker. All rights reserved.
  4.     See ../LICENCE to find out about your rights.
  5.     jan@swi.psy.uva.nl
  6.  
  7.     Copyright (c) 1993 Andreas T"onne. All rights reserved.
  8.  
  9.     Purpose: Machine description for OS/2 & EMX (PC)
  10. */
  11.  
  12.  
  13. #define M_CC            gcc
  14. #define M_OPTIMIZE            -O2
  15. #define M_LDFLAGS         
  16. #define M_CFLAGS        -Wall -DOS2 -DEMX
  17. #define M_LIBS            -lm -ltermc -los2
  18. #define M_SEP               \\
  19.  
  20.  
  21.             /* compiler */
  22. #define ANSI            1
  23. #define O_NO_LEFT_CAST        0
  24. #define O_NO_VOID_POINTER    0
  25. #define O_SHORT_SYMBOLS        0
  26.             /* Operating system */
  27. #define O_PROFILE        0
  28. #define O_SIG_AUTO_RESET    1
  29. #define O_SHARED_MEMORY        0
  30. #define O_CAN_MAP        0
  31. #define O_NO_SEGV_ADDRESS    0
  32. #define MAX_VIRTUAL_ADDRESS    (220 * 1024 * 1024)
  33. #define O_FOREIGN        0
  34. #define O_SAVE            1
  35. #define DEVNULL            "/dev/nul"
  36. #define DEFAULT_PATH        "C:\\usr\\local\\cmd;.;"
  37. #define IS_DIR_SEPARATOR(c)    ((c) == '\\' || (c) == '/')
  38. #define DESCRIPTOR_TABLE_SIZE   4096
  39. #define FIRST_DATA_SYMBOL       _data   /* valid for EMX under OS/2 only */
  40. #define LAST_DATA_SYMBOL        _end    /* valid for EMX under OS/2 only */
  41. #define HEAP_START        _heap_base
  42. #define SIGNAL_CONTEXT_TYPE    void *
  43. #define O_VMCODE_IS_ADDRESS    0
  44.  
  45.             /* terminal driver */
  46. #define O_TERMIOS         1
  47. #define O_EXTEND_ATOMS         1
  48. #define O_LINE_EDIT         1
  49. #define O_MAP_TAB_ON_ESC    1
  50. #define O_FOLD             0
  51.             /* Interfaces */
  52. #define O_PCE             0
  53.  
  54.                         /* Make */
  55. #define OS2MAKE                 1
  56.  
  57. #define MACHINE            "PC"
  58. #define OPERATING_SYSTEM    "OS/2 2.0"
  59.