Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/lib/libsa
On Sun, 23 Mar 2008, Hubert Feyrer wrote:
>> Is there an easy way of saying
>>
>> #if optimise_for_space
>> use this implementation
>> #else
>> use another implementation
>> #endif
>
> At least sysinst and some other tools for installation #define SMALL,
> so that's easy to test. I guess other environments that are intended
> to optimize for space (libsa?) should do so, too.
#define SMALL is usually used when you want to omit some features in
order to reduce the program size. I was looking for something more like
gcc's "-Os" option, which tries to optimise for space without losing any
functionality. I suppose we could invent a preprocessor symbol for that.
--apb (Alan Barrett)
Home |
Main Index |
Thread Index |
Old Index