lkml.org 
[lkml]   [1996]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: aarrggghhh !!!!

strip your libc.

(i.e. if you have libc-5.4.13 installed)
hit the following:
cd /lib
strip libc.so.5.4.13

or, when you compile a program, do "strip program.filename"

The file is so large because the libc is compiled with -g1, and all the
symbols are kept in, for debugging purposes.

-Rob

On Wed, 20 Nov 1996, Tekno Soft Snc wrote:

>
> Hi all,
>
> I've installed last libc, binutils and ld.so (required by 2.1.x kernel),
> removed old versions, but when I compile this dummy.c
>
> void main();
>
> void main()
> {
> }
>
> the size is 100K !!
>
> root> gcc -o dummy dummy.c
> root> l dummy
> -rwxr-xr-x 1 root root 104299 Nov 20 11:15 dummy*
>
> why this size ?
>
> Thanks in advance,
>
> Roberto Fichera - email MC3641@mclink.it
>
>
>
> Xmeo ver.3.0 Alpha for Linux & Windows
>
>


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.095 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site