From: Martin Grundy (grundy@rtf.bt.co.uk)
Date: 03/31/93


From: grundy@rtf.bt.co.uk (Martin Grundy)
Subject: Re: 4.3.2 libs make big executables
Date: 31 Mar 1993 13:49:30 GMT

In article <1993Mar27.114405.13763@klaava.Helsinki.FI> kankkune@klaava.Helsinki.FI (Risto Kankkunen) writes:
>
>1. Your old binaries weren't demand paged, so they wouldn't require the
>minimum of few 4K pages of disk space. Try to compile with the -N option
>to see, if this is the case. (You can also check, what ldd, size and
>file say about the old and new binaries.)

Sorry if this is obvious but... what are the repercussions of using the
"-N" switch on gcc (ie non-demand paged executables)?

I also have noticed that -N has a large effect on size. For example,

   gcc -O -o last -s last.c gives an executable of 13312 bytes,
   gcc -N -O -o last -s last.c gives an executable of 5008 bytes,

Incidentally, 13312 is not an integer multiple of 4096 - I am confused:-(

--