This is the mail archive of the
sid@sources.redhat.com
mailing list for the SID project.
Re: Which library for new target specific component?
- From: Ben Elliston <bje at au dot ibm dot com>
- To: sid at sources dot redhat dot com
- Date: 23 Apr 2004 09:54:59 +1000
- Subject: Re: Which library for new target specific component?
- References: <4087E58C.3000504@redhat.com>
Dave Brolley <brolley@redhat.com> writes:
> I'm implementing a very specific cache implementation for a target
> we're working on. The component will be abstracted from the current
> cache_component class in sid/components/cache (i.e. it will inherit
> from this class). Which library should this new class belong to?
> Currently I have it in libXXXfamily.la, built from
> sid/components/family/XXX. The effect of this is that libcache.la
> must be loaded before libXXXfamily.la. Should I instead add the code
> to libcache.la (sid/components/cache) so that the libraries are
> independent?
Good question. I think putting it in libcache is fine for the time
being. Presumably it will be some time before the code is contributed
to the public sources?
Ben