This is the script I'm using to build the gdb
Code: Select all
#!/bin/bash
export HOST=x86_64-w64-mingw32
export BUILD=x86_64-w64-mingw32
export TARGET=x86_64-amd-linux-gnu
export PREFIX=/tmp/myToolChain
../../src/binutils-gdb/configure --host=${HOST} --build=${BUILD} --target=${TARGET} --prefix=${PREFIX} --with-python=/mingw64/bin/python --with-sysroot --disable-nls --disable-werror
make && make install
Code: Select all
C:\msys64\tmp\myToolChain\bin>x86_64-amd-linux-gnu-gdb.exe
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site
Is there anyway that I could link with all of python libraries statically so that I can run the debugger from any system?