From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8231 invoked by alias); 10 Apr 2003 18:08:36 -0000 Mailing-List: contact ecos-cvs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Post: List-Help: , Sender: ecos-cvs-owner@sources.redhat.com List-Subscribe: Received: (qmail 8221 invoked by uid 371); 10 Apr 2003 18:08:36 -0000 Date: Thu, 10 Apr 2003 18:08:00 -0000 Message-ID: <20030410180836.8219.qmail@sources.redhat.com> From: nickg@sources.redhat.com To: ecos-cvs@sources.redhat.com Subject: ecos/packages/infra/current ChangeLog cdl/infr ... X-SW-Source: 2003/txt/msg00712.txt.bz2 List-Id: CVSROOT: /cvs/ecos Module name: ecos Changes by: nickg@sourceware.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.