version.pas 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. {
  2. $Id$
  3. Copyright (C) 1998-2000 by Florian Klaempfl
  4. Version/target constants
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. ****************************************************************************
  17. }
  18. unit version;
  19. interface
  20. const
  21. { word version for ppu file }
  22. wordversion = (0 shl 14)+99;
  23. { version string }
  24. version_nr = '0';
  25. release_nr = '99';
  26. patch_nr = '15';
  27. {$ifdef newcg}
  28. minorpatch = ' NCG';
  29. {$else newcg}
  30. {$ifdef newoptimizations}
  31. minorpatch = ' OPT';
  32. {$else}
  33. minorpatch = '';
  34. {$endif}
  35. {$endif newcg}
  36. version_string = version_nr+'.'+release_nr+'.'+patch_nr;
  37. full_version_string = version_nr+'.'+release_nr+'.'+patch_nr+minorpatch;
  38. { date string }
  39. {$ifdef FPC}
  40. date_string = {$I %DATE%};
  41. {$else}
  42. date_string = 'N/A';
  43. {$endif}
  44. { target cpu string }
  45. {$ifdef i386}
  46. target_cpu_string = 'i386';
  47. {$endif}
  48. {$ifdef m68k}
  49. target_cpu_string = 'm68k';
  50. {$endif}
  51. {$ifdef alpha}
  52. target_cpu_string = 'alpha';
  53. {$endif}
  54. {$ifdef powerpc}
  55. target_cpu_string = 'powerpc';
  56. {$endif}
  57. { source cpu string }
  58. {$ifdef cpu86}
  59. source_cpu_string = 'i386';
  60. {$endif}
  61. {$ifdef cpu68}
  62. source_cpu_string = 'm68k';
  63. {$endif}
  64. implementation
  65. begin
  66. end.
  67. {
  68. $Log$
  69. Revision 1.17 2000-03-21 21:35:27 peter
  70. * add OPT for optimizing compiler
  71. Revision 1.16 2000/02/09 13:23:09 peter
  72. * log truncated
  73. Revision 1.15 2000/01/28 20:47:26 michael
  74. + Changed patch number to 15
  75. Revision 1.14 2000/01/14 13:05:54 peter
  76. * version 0.99.14
  77. Revision 1.13 2000/01/07 01:14:49 peter
  78. * updated copyright to 2000
  79. Revision 1.12 1999/08/04 13:03:18 jonas
  80. * all tokens now start with an underscore
  81. * PowerPC compiles!!
  82. Revision 1.11 1999/08/02 17:17:12 florian
  83. * small changes for the new code generator
  84. Revision 1.10 1999/08/01 23:36:42 florian
  85. * some changes to compile the new code generator
  86. }