[AD] Visual C++ makefile change

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


Greetings

I'm new to allegro, but I have a suggestion for a change if you think it's
appropriate.

I compiled allegro using DJGPP and MSVC 2003, to 3 static libraries:
release, debug, and profiling.  When I went to use the debug library, MSVC
2003 gave warnings that the PDB (MSVC debugging information database) was
not available for the debug lib file. To make matters worse, MSVC names its
debugging databases vc70.pdb by default instead of making names that are
specific to the output file being generated, which means if I wanted to use
the debugging database I would have to separate all my library files into
their own directories to avoid filename conflicts.

My suggestion is to include the debugging information in the debug output
file (lib or dll) for MSVC instead of generating a separate database. This
would be done on the following line of the MSVC makefile. The option -Zi
would need to change to -Z7.

# -------- debugging build --------

CFLAGS = -DDEBUGMODE=$(DEBUGMODE) $(WFLAGS) -Gd -Zi

# -------- debugging build --------

CFLAGS = -DDEBUGMODE=$(DEBUGMODE) $(WFLAGS) -Gd -Z7

Farewell,
Blake





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