regex.c not found, but it clearly exists

Andrew STUBBS andrew.stubbs@st.com
Wed Jan 2 12:48:00 GMT 2008


NightStrike wrote:
>> Or you could try "gcc -mno-cygwin" where gcc is the standard Cygwin gcc.
>>
>> That's a Cygwin program so it understands the POSIX paths, but it
>> produced MinGW programs (which don't).
> 
> Are programs compiled in this fashion identical to programs that are
> compiled with the actual i686-pc-mingw-gcc program?

Since nobody more qualified has responded ...

I don't know if they are perfectly identical, but they certainly have 
the same general properties. That is, in order to build a UNIX program 
you have to apply the exact same patches as you would for the MinGW 
compiler.

Note that you must have installed the right Cygwin package for it to 
work - it uses a different set of libraries in -mno-cygwin mode.

Andrew



More information about the Binutils mailing list