Euphoria
Ticket #312:
eudbg.a will not be built with debugging symbols
-
Reported by
jimcbrown
Nov 03, 2010
Makefile.gnu first builds library and then builds debug_library. These point to the same target, just with a different filename and DEBUG flags.
The problem is that we first build eu.a which leaves .o files in libobj. These .o files are reused by debug_library which builds eudbg.a from them, however these .o files will then lack any debugging information.
Details
1. Comment by SDPringle
Nov 03, 2010
The same thing happens with Makefile.wat. To get properly created libraries:
wmake DEBUG=1 library
copy the library and then do:
wmake clean library
It should be somewhat similar with Makefile.gnu.
I wonder what happens if you take this debugging library and sources and move the EUPHORIA directory to another computer in another location. Will the debugging symbols still be visible?
2. Comment by mattlewis
Nov 04, 2010
The GNU makefile has been fixed. The debug-library target uses a different build directory, so the non-debug object files aren't used.
I suppose the Watcom makefile still needs a similar update.
3. Comment by SDPringle
Nov 04, 2010
Okay, I'll get this. It should only be a two lines or so.
4. Comment by SDPringle
Nov 04, 2010
this should be fixed for Watcom/Windows as of 3829.
5. Comment by jeremy
Nov 04, 2010
Moved the ticket to accepted since we've been working on it a while 
6. Comment by mattlewis
Nov 04, 2010
Since watcom was the remaining issue, closing as fixed.