summaryrefslogtreecommitdiff
path: root/bin/envinfo.cpp
blob: ff05e328f484be2dde01eabb95a5a5549152bb67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// $Id$

#include "ace/ACE.h"

ACE_RCSID(bin, envinfo, "$Id$")

int
main (int, ACE_TCHAR *[])
{
  cerr << "ACE: "
       << ACE::major_version() << "."
       << ACE::minor_version() << "."
       << ACE::beta_version() << "\n";

  ACE_utsname uname;
  ACE_OS::uname(&uname);
  cerr << "OS: "
       << uname.sysname << " "
       << uname.release << "\n";

  cerr << "Compiler: "
       << ACE::compiler_name() << " "
       << ACE::compiler_major_version() << "."
       << ACE::compiler_minor_version() << "."
       << ACE::compiler_beta_version() << "\n";

  return 0;
}