bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug-gmp digest, Vol 1 #196 - 4 msgs


From: Hans Aberg
Subject: Re: Bug-gmp digest, Vol 1 #196 - 4 msgs
Date: Sun, 12 Aug 2001 13:07:39 +0200

At 07:04 +1000 2001/08/12, Kevin Ryde wrote:
>The linker won't split up object files, hence one function per file,
>so a program only gets what it actually uses.  (This is pretty
>standard I think.)

My linker is smart enough to only include what the program uses. So then it
does not matter how large the object files are, or the number of function
in it. One exception is assembler code (or any code belonging to another
compiler), which it never strips down. So (for use with this compiler) the
parts that may be generated by assembler code should be in separate files
if they may be used independently of each other.

Note that if one wants to have larger object files, it is easy to make a .c
file that includes the other ones, and compile that file instead.

  Hans Aberg





reply via email to

[Prev in Thread] Current Thread [Next in Thread]