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: 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? 

Regards,
Trampas 

  
 

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of Ned
Konz
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
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



_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list






reply via email to

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