This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Adding a member to CTOR_LIST in HAL package


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]