
On Sat, Nov 13, 2004 at 12:35:38PM -0800, Jon A. Cruz wrote:
/usr/bin/ld: unrecognized option '--base-file'
The problem is that the mingw tools all use the "regular" names, so you have to set up symlink and adjust your path:
lrwxrwxrwx 1 root root 18 2004-10-27 20:30 ld -> i686-pc-mingw32-ld* lrwxrwxrwx 1 root root 18 2004-10-27 20:31 ar -> i686-pc-mingw32-ar* lrwxrwxrwx 1 root root 18 2004-10-27 20:31 nm -> i686-pc-mingw32-nm* lrwxrwxrwx 1 root root 19 2004-10-27 20:31 g++ -> i686-pc-mingw32-g++* lrwxrwxrwx 1 root root 19 2004-10-27 20:31 gcc -> i686-pc-mingw32-gcc* drwxr-xr-x 2 nobody 99 4096 2004-10-27 20:31 ./ /usr/local/xmingw/bin$
So... anyone have ideas on making it hit the proper version of ld?
And I use this script to compile:
#!/bin/bash
export PKG_CONFIG_PATH=/target/lib/pkgconfig export PATH=/usr/local/xmingw/bin:$PATH
make -j3 -f Makefile.mingw || exit 1