How to build a minimal glibc? HELP

How to build a minimal glibc? HELP

Post by co0lsNa » Thu, 01 Nov 2001 15:44:26



I want to build a minimal glibc from source code. but I don't konw how
to do . I only need file system, process control,memory manage and
some base services of OS. How can I build this glibc smaller than 3M?
  thank you all.
 
 
 

How to build a minimal glibc? HELP

Post by <k.. » Sat, 03 Nov 2001 00:37:04



Quote:> I want to build a minimal glibc from source code. but I don't konw how
> to do . I only need file system, process control,memory manage and
> some base services of OS. How can I build this glibc smaller than 3M?
>   thank you all.

Take a look at the most recent version of "Embedded Linux Journal"
(November/December issue).  There's a good article in there on paring
down glibc. In short, you'll need to profile all your applications to
find out what they need and then build glibc accordingly.

 
 
 

How to build a minimal glibc? HELP

Post by <k.. » Sat, 03 Nov 2001 05:46:41



Quote:> I want to build a minimal glibc from source code. but I don't konw how
> to do . I only need file system, process control,memory manage and
> some base services of OS. How can I build this glibc smaller than 3M?
>   thank you all.

There's a mklibs.sh file in the Debian source that purports to minimize
your libraries. I'm giving it a shot now. If you have the Debian source
disks, its in the Source 3 disk, under
dists/stable/main/source/admin/boot_floppies_VERSION_gz.

Extract the tarball and take a look at the mklibs.sh script.

 
 
 

How to build a minimal glibc? HELP

Post by Marcel van Osenbrugge » Thu, 08 Nov 2001 04:00:04



> I want to build a minimal glibc from source code. but I don't konw how
> to do . I only need file system, process control,memory manage and
> some base services of OS. How can I build this glibc smaller than 3M?
>   thank you all.

uClibc is a subset of the glibc library. So is diet-libc.

Both can manage above functions.

uClibc is at : http://cvs.uclinux.org/uClibc.html

--


 
 
 

1. About minimal glibc,who can help me?

I do some work on embedded linux now. I have a problem that I can't
reduce the size of glibc. I tried many methods then I found a document
about it. It's on "Embedded Linux Journal" November 2001 ,named
"Building a Minimal Glibc with Componentization  ",but it didn't give
a link of this document on the net. I live in china mainland so I
can't buy this Journal.

I know it's illegal but I need this file. who can send a copy of this
file to me ,thank you very much.

2. Mounting home dir from workstation w/out root

3. Problem building glibc.. please help.

4. X---Who can answer it?

5. help: how to build glibc for a.out format on linux

6. PCMCIA 56K modem didn't work under Linux... HELP!!!!!

7. Failed building glibc-2.1.1pre2, please help

8. WebServices

9. building minimal kernel

10. minimal work to get minimal printer working minimalling

11. building a very basic minimal LINUX.

12. glibc build for arm problem

13. Trying to build glibc-2.0.3