[Top][All Lists]

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

RE: [avr-gcc-list] Linker question

From: Trampas
Subject: RE: [avr-gcc-list] Linker question
Date: Sun, 3 Jul 2005 10:00:57 -0400

Humm, I guess I need to figure out the source code for GCC and start fixing
such things. 
Does anyone have a beginners guide to the GCC source code, like information
of philosophy, compiling, etc? 



-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of Ned
Sent: Saturday, July 02, 2005 11:52 PM
To: address@hidden
Subject: Re: [avr-gcc-list] Linker question

On Saturday 02 July 2005 7:38 pm, Trampas wrote:
> I have noticed that the avr-gcc linker/compiler will link in functions
> 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

AVR-GCC-list mailing list

reply via email to

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