avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Linker question


From: Ned Konz
Subject: Re: [avr-gcc-list] Linker question
Date: Sat, 2 Jul 2005 20:51:48 -0700
User-agent: KMail/1.7.2

On Saturday 02 July 2005 7:38 pm, Trampas wrote:
> I have noticed that the avr-gcc linker/compiler will link in functions that
> are never called. I can understand the compiler/linker doing this when you
> are using pointer to functions as that it can not be determined at compile
> time what functions will be called. However if you are not using pointers
> to functions is there a way to have the linker not include functions that
> are not called?

If you have one function per archive member (i.e. per object file), this 
shouldn't happen.

-- 
Ned Konz
http://bike-nomad.com





reply via email to

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