Michael Barton
2006-08-14 14:50:01 UTC
Is anyone using pre-compiled headers with GCC? It seems like this
would be nice to apply to merc.h. I tried doing this in my Makefile:
rom: merc.h.gch $(O_FILES)
$(CC) $(L_FLAGS) -o rom $(O_FILES) $(LIBS)
merc.h.gch: merc.h
$(CC) $(C_FLAGS) merc.h
merc.h.gch is created, and it compiles fine, but there doesn't seem to
be any measurable increase in compilation speed (i.e. using time(1)).
Makes me think it is probably silently failing to use the pre-compiled
version.
--Palrich.
would be nice to apply to merc.h. I tried doing this in my Makefile:
rom: merc.h.gch $(O_FILES)
$(CC) $(L_FLAGS) -o rom $(O_FILES) $(LIBS)
merc.h.gch: merc.h
$(CC) $(C_FLAGS) merc.h
merc.h.gch is created, and it compiles fine, but there doesn't seem to
be any measurable increase in compilation speed (i.e. using time(1)).
Makes me think it is probably silently failing to use the pre-compiled
version.
--Palrich.
--
ROM mailing list
***@rom.org
Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom
ROM mailing list
***@rom.org
Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom