automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: precompiled header support


From: Paul Biggar
Subject: Re: precompiled header support
Date: Sun, 18 Mar 2007 16:39:28 +0000

On 3/15/07, Ralf Wildenhues <address@hidden> wrote:
Hi Paul,

* Paul Biggar wrote on Wed, Mar 14, 2007 at 01:34:12PM CET:
>
> There seems to have been talk in 2004 of pre-compiled headers, but no
> indication of whether autotools were going to do it. I quite like
> autotools handling my libtool and dependency problems, and dealing
> with precompiled headers would be great too. Is there any work planned
> on this?

I remember very vaguely.  IIRC I have a patch for Libtool to deal with
(IOW: rightly ignore) precompiled headers floating around somewhere.

Is it that you're trying to create them, or merely use installed
precompiled headers?

Create them. We're trying to reduce the time to compile our program. I
was hoping there would be a way to add a setting in our Makefile.am or
configure.ac to automatically create .pch files for our headers, and
automatically use them when ocmpiling (I think gcc does this
automatically, if they're generated correctly).


Would it make sense to deal with precompiled headers for GCC only, or
are other compilers interesting as well?  For creation, I think this
could very much complicate things, also I think it's not too good an
idea to promote this portability-wise; their mere use should be possible
though (I think it already is, but haven't tested).

We're only interested in gcc. Perhaps it would be appropriate to
ignore the setting if other compilers dont support it.


Thanks
Paul



--
Paul Biggar
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]