Reputation: 556
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???
Upvotes: 0
Views: 1477
Reputation: 198
As Tom Tromey pointed out, --with-libexpat-prefix
should be /usr/local
rather than /usr/local/lib
and config.log
is an excellent source for debugging after failure. (Mostly posting to mark this as answered.)
Upvotes: 0