> -----Original Message-----
> From: 
> avr-libc-dev-bounces+eweddington=cso.atmel....@nongnu.org 
> [mailto:avr-libc-dev-bounces+eweddington=cso.atmel....@nongnu.
> org] On Behalf Of Bob Paddock
> Sent: Sunday, December 21, 2008 4:50 AM
> To: avr-libc-dev@nongnu.org
> Subject: Re: [avr-libc-dev] Add lib per devide.
> 
> On Sun, Dec 21, 2008 at 2:12 AM, Dmitry K. 
> <dm...@marine.febras.ru> wrote:
> 
> > > I against, to build full the avr-libc library for device,
> > > > this dramatically increase compile time
> >
> 
> By how much?  Seconds or days?
> 
> If each devices is in its own header file, then could 
> precompiled headers be
> used?
> 
> http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html
> 
> I looked at doing this last week actually to speed up 20081205.
> 
> The problem I ran into was getting the headers compiled due 
> to the circular
> nature
> of the includes, and lack of defined CPU type define.  I 
> didn't spend any
> more time on it
> but I'm sure those problems are solvable.

IIRC, precompiled headers were mainly designed for large C++ headers that also 
had code in them. I highly doubt that precompiled headers would be useful for 
an AVR application.


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to