This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Question about using MinGW GCC on Cygwin
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 09 Dec 2014 12:59:41 -0600
- Subject: Re: Question about using MinGW GCC on Cygwin
- Authentication-results: sourceware.org; auth=none
- References: <20141209024824 dot GA81841 at cs dot nctu dot edu dot tw>
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