diff options
author | Chris Xiong <chirs241097@gmail.com> | 2019-12-02 01:19:30 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2019-12-02 01:19:30 +0800 |
commit | c34daa26c67f4a879ff541775c099ddc19a1dec5 (patch) | |
tree | c7ee978b1d7c880ca8be746ba5dfd3d887239d95 /third_party/backtrace-mingw/README.md | |
parent | 59acbd03eaf082cea6c751ac6a759724bc3dc68f (diff) | |
download | QMidiPlayer-c34daa26c67f4a879ff541775c099ddc19a1dec5.tar.xz |
Add a stack trace printer for the beloved operating system.
Diffstat (limited to 'third_party/backtrace-mingw/README.md')
-rw-r--r-- | third_party/backtrace-mingw/README.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/third_party/backtrace-mingw/README.md b/third_party/backtrace-mingw/README.md new file mode 100644 index 0000000..77cb879 --- /dev/null +++ b/third_party/backtrace-mingw/README.md @@ -0,0 +1,20 @@ +The original project doesn't come with a readme. + +The code has been slightly tweaked to add support for amd64 and to obtain a +more readable output format. + +Tested with mxe (gcc 5.5.0, binutils 2.28). Obviously you need a shared build. +mxe disables shared versions of bfd and iberty, but actually they work just +fine. Simply remove this line +``` +$(PKG)_BUILD_SHARED = +``` +from their makefiles and change the options for `./configure` +(`--enable-static` to `--disable-static`, `--disable-shared` to +`--enable-shared`). + +[Source project](https://github.com/cloudwu/backtrace-mingw) + +References + +[Printing a Stack Trace with MinGW](http://theorangeduck.com/page/printing-stack-trace-mingw) |