linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* How can I slim down libc
@ 2001-03-01 15:36 Peter Uttley
  2001-03-01 20:45 ` Daris A Nevil
  2001-03-01 23:06 ` Graham Stoney
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Uttley @ 2001-03-01 15:36 UTC (permalink / raw)
  To: linuxppc-embedded


Hope someone can point me in the right direction.

I'm currently developing an embedded system based on an MPC-850, and
everything going quite well, however I'm currently mounting my file system
on NFS and now want to run from a ram disk.
Unfortunately I only have 8MB of RAM to play with and Libc on it's own is
4MB, I've tried removing debug information but this doesn't get me down much
further.

Any help on this matter would be highly appreciated,

Regards,

Pete.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How can I slim down libc
  2001-03-01 15:36 How can I slim down libc Peter Uttley
@ 2001-03-01 20:45 ` Daris A Nevil
  2001-03-01 23:06 ` Graham Stoney
  1 sibling, 0 replies; 3+ messages in thread
From: Daris A Nevil @ 2001-03-01 20:45 UTC (permalink / raw)
  To: Peter Uttley; +Cc: linuxppc-embedded


Pete,

You may want to look at the QSLinux kernel at http://qslinux.org and
ftp://qslinux.org.  We have integrated the e2fs-compr Extended-2
Filesystem into the kernel.  We can fit the Libc, Libdll, and two or
three other libs, plus the executables for bash, ftp, telnet, and snmp
into 3Meg of FLASH compressed, and still have room left over.


Regards,
Daris Nevil


Peter Uttley wrote:
>
> Hope someone can point me in the right direction.
>
> I'm currently developing an embedded system based on an MPC-850, and
> everything going quite well, however I'm currently mounting my file system
> on NFS and now want to run from a ram disk.
> Unfortunately I only have 8MB of RAM to play with and Libc on it's own is
> 4MB, I've tried removing debug information but this doesn't get me down much
> further.
>
> Any help on this matter would be highly appreciated,
>
> Regards,
>
> Pete.
>

--
Daris A Nevil
Simple Network Magic Corporation
401 Kentucky Lane
McKinney, TX 75069
214-793-7757
dnevil@snmc.com
www.snmc.com
quickstack.com
qslinux.org

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How can I slim down libc
  2001-03-01 15:36 How can I slim down libc Peter Uttley
  2001-03-01 20:45 ` Daris A Nevil
@ 2001-03-01 23:06 ` Graham Stoney
  1 sibling, 0 replies; 3+ messages in thread
From: Graham Stoney @ 2001-03-01 23:06 UTC (permalink / raw)
  To: Peter Uttley; +Cc: linuxppc-embedded


Hi Peter,

On Thu, Mar 01, 2001 at 03:36:18PM -0000, Peter Uttley wrote:
> Unfortunately I only have 8MB of RAM to play with and Libc on it's own is
> 4MB, I've tried removing debug information but this doesn't get me down much
> further.

8 MB should be heaps for an embedded Linux system, unless your application is
memory hungry.  To see all the stuff we fitted in an 8 MB system, see the
section of the HOWTO at:
    http://penguinppc.org/usr/embedded/howto/PowerPC-Embedded-HOWTO-3.html#ss3.2

The glibc-2.1.3 shared objects total less than 2MB on our 855T system, so I
suspect you're doing something wrong.  What are the size of each of your .so's?

If you solve this problem and still need more space, check out the sglibc
project for information on how to shrink it further, at:
    http://sourceforge.net/projects/sglibc

I suspect you won't actually need to though; you just need to find why you're
currently ending up with a 4 MB glibc.

Regards,
Graham
--
Graham Stoney
Assistant Technology Manager
Canon Information Systems Research Australia
Ph: +61 2 9805 2909  Fax: +61 2 9805 2929

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-03-01 23:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-01 15:36 How can I slim down libc Peter Uttley
2001-03-01 20:45 ` Daris A Nevil
2001-03-01 23:06 ` Graham Stoney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).