Re: Suggestions?

Steve Schefter <[email protected]> Fri, 28 Oct 2005 08:38:46 -0400
Newsgroups gmane.linux.kernel.streams
Organization The Software Group Limited
Message-ID <[email protected]>
[email protected] wrote:

> I am not sure if what I am asking is practical or not. I am writing a
> STREAMS stack for a protocol over a serial connection. Tha catch is
> that it is an embedded application and I need the object (streams.o) to
> be as small as I can get it. The whole file system is on flash. 
> 
> How can I best reduce the size of the file. I am not using clone or
> multi or loopback (maybe on loopback). I am doing straight put() &
> putq() up and down. 

We use LiS in our embedded system (32M RAM, 8M flash) along with much
more extensive serial protocol stacks implemented in streams modules,
a web server for configuration/stats, switching applications,
applications for communicating with client machines, etc.  No problems.

> What modules is it posssible to leave out?

The basic streams environment will be in a module called streams.o.
That's all you need to load (besides your own).  The user interface
will end up in libLiS which you link with your apps.

	Steve

------------------------------------------------------------------------
Steve Schefter                               phone: +1 705 725 9999 x26
The Software Group Limited                     fax: +1 705 725 9666
642 Welham Road,                             email: [email protected]
Barrie, Ontario CANADA  L4N 9A1                Web: www.wanware.com