Euphoria Ticket #312: eudbg.a will not be built with debugging symbols

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.


Type: Bug Report Severity: Blocking Category: Build System
Assigned To: mattlewis Status: Fixed Reported Release:
Fixed in SVN #: 3829 View VCS: 3829 Milestone: 4.0.0RC1

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 smile

6. Comment by mattlewis Nov 04, 2010

Since watcom was the remaining issue, closing as fixed.


Quick Links

User menu

Not signed in.

Misc Menu