Gcc precompiled headers
This issue was originally created at: 2009-09-23 12:43:58.
This issue was reported by: overmind.
overmind said at 2009-09-23 12:43:58
The basic SCons package supports only the MSVC precompiled packages; however, there is a tool named 'Gch' that does the same thing for GCC-based compilers. Both have a very similar syntax. Couldn't they be merged into one standard tool?
This would improve SCons portability. Also, if such a tool would be created, it would be better to force the precompiled header pre-inclusion in the source files (like GCC's -include option); this would simplify porting the Qt programs to SCons, for example, because its MetaObject Compiler don't include the PCH into the generated source (the only option now is using '-include' directly, but this makes the build script GCC-bound).
gregnoel said at 2009-12-09 14:58:14
Bug party triage. Good idea, but it's very unlikely that core developer time will be available to work on it in the near term.
weegreenblobbie said at 2013-03-29 09:46:30 Created an attachment (id=917)
GCH tool, pulled from scons-users discussion topic
weegreenblobbie said at 2013-03-29 09:48:09 Attached the GCH tool pulled from the scons-users discussion topic.
Votes for this issue: 2.
weegreenblobbie attached gch.py at 2013-03-29 09:46:30.
GCH tool, pulled from scons-users discussion topic
Sorry, hit wrong button in github app, didn't mean to close
Minimally updated version of attachment (2to3/black). Funky naming because github is fussy about allowed file suffixes for uploads.
See also #3064 (for the -include topic)
@bdbaddog should we consider dropping this onto contrib?
@bdbaddog should we consider dropping this onto contrib?
Hrm. We have PCH for MSVC, but not for gcc?
There are several issues that mention adding them - see also #4026