Re: convenience libraries & binary size

2006-08-01 Thread Pieter Grimmerink
On Wednesday 26 July 2006 13:45, Pieter Grimmerink wrote:
> In an autotools project, I recently moved sourcefiles into convenience
> libraries, because the number of sourcefiles was getting rather large.
>
> Before this reorganisation, the binary size of the resulting (stripped)
> executable was about 800KB.
> But after I moved about 50% of the total sourcecode into convenience
> libraries, the stripped executable had grown to a huge 1200KB.

I have to make a decision now, and I see only two options:

1. move all >200 sourcefiles back into a single directory...
2. stop using autotools, so we no longer need convenience libs to handle 
subdirectories

Apparently convenience libs are not an option for embedded systems, so 
perhaps one could conclude that autotools are not an option for larger 
projects on embedded systems?

Regards, Pieter




Re: convenience libraries & binary size

2006-08-01 Thread Andreas Schwab
Pieter Grimmerink <[EMAIL PROTECTED]> writes:

> 1. move all >200 sourcefiles back into a single directory...
> 2. stop using autotools, so we no longer need convenience libs to handle 
> subdirectories

You don't need convenience libraries to handle subdirectories.  Have you
tried subdir-objects?  (*Note (automake)Options::.)

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."