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 Mon, Mar 24, 2008 at 12:18:06PM +0200, Alan Barrett wrote:
> On Tue, 18 Mar 2008, matthew green wrote:
> >    Is there an easy way of saying
> >    
> >     #if optimise_for_space
> >             use this implementation
> >     #else
> >             use another implementation
> >     #endif
> > 
> > yes - i had considered suggesting this.  you want to check
> > for __OPTIMIZE__ IIRC.  the gcc manual probably has it.
> 
> Found it:  __OPTIMIZE_SIZE__, documented in "info cpp".

Stuff for boot/bootxx often uses STANDALONE

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index