mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-03 12:21:20 +00:00
Produce a symbol file along with the executable
The symbol file is a file that aids in debugging by allowing a crash dump from a stripped executable to have it's symbols applied to it. The file itself ends up in ./internal/temp after compilation and is called `EXEFILE.sym`. FIxes: #53
This commit is contained in:
parent
73c1c7245d
commit
f399406f8f
3
Makefile
3
Makefile
|
@ -341,3 +341,6 @@ clean:
|
||||||
|
|
||||||
$(EXE): $(EXE_OBJS) $(EXE_LIBS)
|
$(EXE): $(EXE_OBJS) $(EXE_LIBS)
|
||||||
$(CXX) $(CXXFLAGS) $(EXE_OBJS) -o $@ $(EXE_LIBS) $(CXXLIBS)
|
$(CXX) $(CXXFLAGS) $(EXE_OBJS) -o $@ $(EXE_LIBS) $(CXXLIBS)
|
||||||
|
$(OBJCOPY) --only-keep-debug $@ $(PATH_INTERNAL_TEMP)/$@.sym
|
||||||
|
$(OBJCOPY) --strip-unneeded $@
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue