Changeset 27 for sources/src/sc_main.cc


Ignore:
Timestamp:
May 4, 2009, 8:51:56 PM (16 years ago)
Author:
buchmann
Message:

SystemCASS now uses autoconf/automake to build the API. Regression tests still
use the old Makefiles.
(thanks to Nicolas Pouillon)

The library directory no longer is "lib-arch-system". The directory now is "lib-linux". Everyone needs to pay attention about SYSTEMCASS environment variable.

Changes:

  • system header includes
  • Add includes to config.h (generated by autoconf/automake)
  • test:
    • linux preprocessor macro instead of _WIN32
    • CONFIG_DEBUG instead of DEBUG

Removes:

  • Makefile
  • guess_endianness.cc
  • guess_os.sh
  • assert.h (we now use standard assert.h)
  • Options.def
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/src/sc_main.cc

    r17 r27  
    3535 */
    3636
    37 #include<sstream>
    38 #include<list>
    39 #include<set>
    40 #include<cstring> // strcmp
    41 
    42 #include"internal.h"
    43 #include"global_functions.h"
    44 #include"sc_ver.h"
    45 #include"sc_module.h"
    46 #include"sc_signal.h" // pending_write_vector
    47 #include"dump_dot.h"
    48 #include"dump_used_options.h"
    49 #include"dump_used_env.h"
    50 #include"assert.h"
     37#include <sstream>
     38#include <list>
     39#include <set>
     40#include <cstring> // strcmp
     41#include <cassert>
     42
     43#include "internal.h"
     44#include "global_functions.h"
     45#include "sc_ver.h"
     46#include "sc_module.h"
     47#include "sc_signal.h" // pending_write_vector
     48#include "dump_dot.h"
     49#include "dump_used_options.h"
     50#include "dump_used_env.h"
     51
     52#ifdef HAVE_CONFIG_H
     53#include "config.h"
     54#endif
    5155
    5256//
     
    6064
    6165bool        check_port_dependencies = false;
     66#ifdef CONFIG_DEFAULT_RUNTIME_COMPILATION
     67bool        dynamic_link_of_scheduling_code = true;
     68#else
    6269bool        dynamic_link_of_scheduling_code = false;
     70#endif
    6371bool        dump_netlist_info       = false;
    6472bool        dump_funclist_info      = false;
     
    108116  switch (scheduling_method) {
    109117  case CASS_SCHEDULING :
    110     ASSERT(use_port_dependency == false);
     118    assert(use_port_dependency == false);
    111119    break;
    112120  case BUCHMANN_SCHEDULING :
     
    125133    exit (33);
    126134  }
    127   ASSERT(use_port_dependency || use_sensitivity_list);
     135  assert(use_port_dependency || use_sensitivity_list);
    128136}
    129137
Note: See TracChangeset for help on using the changeset viewer.