On 2014-12-08 20:48, 陳韋任 (Wei-Ren Chen) wrote:
   I am trying to build gdbserver [1] on cygwin with mingw-gcc, since
I want to build native windows executable and cygwin-gcc doesn't
support "-mno-cygwin" any more. Here is how I do the config,

$ cd gdb-7.8.1/gdb/gdbserver
$ CC=i686-pc-mingw32-gcc ./configure

Besides Corinna's point to use mingw64-i686-* instead of mingw-*, this is not how cross-compiling works. You should run './configure --host=i686-w64-mingw32' instead.

--
Yaakov


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to