#236 PCH not working with gmake

4.4
closed-fixed
starkos
5
2012-09-11
2012-01-03
Anonymous
No

Since revision 597 the command line for generating precompiled headers is broken.
The command line looks like this (when building a shared library in debug):

g++ -MMD -MP -Iobj/debug -include obj/debug/precompiled.hxx -g -fPIC -o "obj/debug/precompiled.hxx.gch" -MF obj/debug/precompiled.hxx.gch -c "precompiled.hxx"

The actual contents of obj/debug/precompiled.hxx.gch become the list of its dependencies. This leads to g++ mechanism for using precompiled headers to fail silently resulting in not actually using precompiled headers.

Discussion

  • starkos
    starkos
    2012-09-05

    I believe this has already been fixed in premake-stable for the 4.4 release.

     
  • starkos
    starkos
    2012-09-05

    • assigned_to: nobody --> starkos
    • milestone: 519998 --> 4.4
    • status: open --> pending-fixed
     
  • starkos
    starkos
    2012-09-11

    • status: pending-fixed --> closed-fixed