This is the mail archive of the
ecos-cvs@sources.redhat.com
mailing list for the ecos project.
ecos/packages/infra/current ChangeLog cdl/infr ...
- From: nickg at sources dot redhat dot com
- To: ecos-cvs at sources dot redhat dot com
- Date: 10 Apr 2003 18:08:36 -0000
- Subject: ecos/packages/infra/current ChangeLog cdl/infr ...
CVSROOT: /cvs/ecos
Module name: ecos
Changes by: nickg at sourceware dot org 2003-04-10 18:08:36
Modified files:
packages/infra/current: ChangeLog
packages/infra/current/cdl: infra.cdl
Added files:
packages/infra/current/src: abort.cxx strlen.cxx
packages/infra/current/tests: cxxsupp.cxx
Log message:
* tests/cxxsupp.cxx: Added this test program to check that basic
C++ support is present. It checks that pure virtual functions can
be defined, that new and delete are present and functional, and
that calls to as-yet undefined inline functions work. Most of
these are linker and runtime system issues, so the actual run of
the program is almost a non-event.
* cdl/infra.cdl:
Added CYGFUN_INFRA_DUMMY_ABORT and CYGFUN_INFRA_DUMMY_STRLEN
options to conrol inclusion of dummy abort() and strlen()
functions. These are needed to be present by the compiler's C++
runtime system, although they should never be called.
Added CYGPKG_INFRA_TESTS to define test programs.
Added CYGPKG_INFRA_LDFLAGS_REMOVE and CYGPKG_INFRA_LDFLAGS_ADD to
modify the linkage options for the infra package
tests. Specifically they remove the --gc-sections option and make
all linker warning fatal. This is necessary if cxxsupp.cxx is to
test what it needs correctly.
* src/abort.cxx: Added this dummy implementation of abort() to
satisfy references in the C++ runtime system.
* src/strlen.cxx: Added this dummy implementation of strlen() to
satisfy references in the C++ runtime system.