Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Huge perl binary file

by chromatic (Archbishop)
on Jul 13, 2012 at 04:56 UTC ( #981558=note: print w/replies, xml ) Need Help??

in reply to Huge perl binary file

A few years ago, I compiled perl 5.10.0 on my old server. The binary file was 16KB...

Are you sure? I just compiled "Hello, world!" written in C with -Os and stripped out debugging symbols and it's 6200 bytes.

Improve your skills with Modern Perl: the free book.

Replies are listed 'Best First'.
Re^2: Huge perl binary file
by Anonymous Monk on Jul 13, 2012 at 11:52 UTC

    I guess it's not impossible. Mine's 7 KB:

    -rwxr-xr-x 2 root wheel 7264 17 Jun 13:53 /usr/local/bin/perl5.12. +4 % ldd /usr/local/bin/perl5.12.4 /usr/local/bin/perl5.12.4: => /usr/local/lib/perl5/5.12.4/mach/CORE/ (0x +800648000)

    But libperl is 1,41 MB:

    -r-xr-xr-x 1 root wheel 1478298 17 Jun 13:52 /usr/local/lib/perl5/5 +.12.4/mach/CORE/
      -rwxr-xr-x 1 root root 16350 Nov 28 2006 bin/perl* -r-xr-xr-x 1 root root 1129110 Nov 28 2006 lib/5.8.8/i686-linux/CORE/*

        Could you do a file bin/perl? Is this really a binary? It could be some shell script that selects the configured perl binary from a list of configured alternatives...

        Sorry for any bad spelling, broken formatting and missing code examples. During a slight disagreement with my bicycle (which i lost), i broke my left forearm near the elbow. I'm doing the best i can here...

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://981558]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2022-08-12 03:54 GMT
Find Nodes?
    Voting Booth?

    No recent polls found