home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / EFFO / forum7.lzh / RICO / C / CONFIG / config.doc < prev    next >
Text File  |  2009-11-06  |  1KB  |  28 lines

  1.  
  2. config - print details of your machine and C compiler  configura-
  3. tion  config  Config determines and prints out several properties
  4. of the C compiler it is compiled with and the machine it  is  run
  5. on.  Among the properties it gives are
  6.     - the number of bits in a char, and whether chars are  signed
  7.     or not;
  8.     - the maximum short, int, and long;
  9.     - alignment values for char, short, int and long;
  10.     - number of bits for char and int pointers, with a warning if
  11.     they are longer than int;
  12.  
  13. and then for float and double:
  14.     - the base used;
  15.     - number of significant digits;
  16.     - certain minumum and maximum values;
  17.     - whether arithmetic rounds or chops;
  18.     - whether a hidden bit is used or not;
  19.     - etc.
  20.  
  21. Finally the total amount of memory that can be allocated by  mal-
  22. loc(3)    is  printed.  The output is printed as a series of C com-
  23. ments, so that the program can be used to  produce  header  files
  24. for C programs without too much upheaval.  The program won't work
  25. if overflow causes a trap, and the trap can't be caught  by  sig-
  26. nal(2).
  27.  
  28.