[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] object file break up
From: |
Ned Konz |
Subject: |
Re: [avr-gcc-list] object file break up |
Date: |
Sat, 11 Feb 2006 21:17:35 -0800 |
On Feb 11, 2006, at 2:47 PM, Ning Xu wrote:
I am thinking of breaking a big avr object file into a set of
smaller object files. Is it possible in theroy? does anyone know
any tool out there that does this?
If it's big because there's lots of functions in it, just edit the
source so you have lots of little source files instead of one big one.
Then use the librarian (avr-ar) to maintain a library with the object
files compiled from the new smaller source files.
If your big object file is big because it's one huge function, the
tool to use is called an "editor".
Refactor the one huge function so that it's several smaller ones, and
apply the above strategy.
--
Ned Konz
address@hidden