[ECOS] Adding a member to CTOR_LIST in HAL package
Jesper Skov
jskov@redhat.com
Thu May 16 02:09:00 GMT 2002
On Mon, 2002-05-13 at 13:02, N.Suresh wrote:
> Hi all,
> I am trying to add an entry into the CTOR_LIST by creating a static
> object of dummy class
> inside the HAL.
> But this doesn't get added to the final list. (Observed in ecos.map
> file).
> If i do the same functionality in the pkgstart.cxx of infra package,
> it is getting added to the list..
> I checked the makefiles of both the packages, but couldn't find much
> differences..
> Any idea why this is happening?
Yeah, you are probably not linking the file to libextras. Look at the
CDL for CYGPKG_IO_FILEIO which puts misc.cxx in libextras. For a
description of why this is necessary, read the CDL manual.
Jesper
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list