[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Use of -ffunction-section, -fdata-section, and --gc-
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Use of -ffunction-section, -fdata-section, and --gc-sections to g et rid of unused code |
Date: |
Fri, 27 Jun 2003 09:43:13 +0200 (MET DST) |
Bernd Trog <address@hidden> wrote:
>> It's better to properly separate your functions into different
>> source
> Why is it better?
Because it requires that you think about the design of your project
before you start coding. Once you did that, the separation comes out
of this automatically.
But if you're comfortable with it, do it that way. Just don't expect
anyone to test this feature regularly (IOW: it's not a well-maintained
feature, and if it breaks some day, the breakage might easily make it
into a gcc/binutils/avr-libc release without anyone noticing before
the release is done).
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/