Re: [AD] msvc7 compiler options

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


aj wrote:

ifdef COMPILER_MSVC7
+   CFLAGS += -GL
+   LFLAGS += -LTCG
+   LIBPARMS += -LTCG
+endif



/LTCG is implied with /GL.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vcgrfLTCGLinktimeCodeGeneration.asp
second line of the Remarks section.

yes, it is implied but it will show you tons of ugly warning messages that the linker is switching into the LTCG mode

--
Regards,
    Michal




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/