-->

gdb building with expat

2019-09-02 04:18发布

问题:

I can't seem to get the syntax right for building gdb on Windows 10 (mingw), with expat. I downloaded expat sources and had no problems building. The expat.h file is in /usr/local/include and the expat library (libexpat.a and libexpat.dll.a) ended up in /usr/local/lib

My config is: ../gdb-7.7.1/configure --target=arm-linux-gnueabihf --prefix /c/sysGCC/output --with-python --with-expat --with-libexpat-prefix=/usr/local/lib --disable-nls

But no matter what I try I always get a make error "libexpat is missing or unusable". Does anyone spot the error???