This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using -mno-cygwin flag

> * Larry Hall <yu-ab-crefbany-ercyvrf-cyrnfr@pltjva.pbz> [2005-05-04 13:02:44 -0400]:
> At 12:53 PM 5/4/2005, you wrote:
>>> * Brian Dessent <oevna@qrffrag.arg> [2005-05-04 03:00:37 -0700]:
>>> -mno-cygwin does not just "make things that doesn't depend on the
>>> cygwin DLL", it removes Cygwin from the equation entirely.
>>this is very unfortunate, actually.
>>things like berkeley-db, postgresql, pcre &c all have a native win32
>>port, and it it a pity that -mno-cygwin does not use them.
> That's something to take up with the MinGW folks (

I am not quite clear on the exact relationship between cygwin and MinGW
project (I assumed that they are independent except that cygwin includes
parts of MinGW).  Why would I want to talk to them?

I think that cygwin should include the native ports of packages for
which such ports exist - as a matter of policy.
Of course, it is probably up to the individual package maintainer how
to build the package, so, e.g., I could lobby Ronald to build the
native PCRE version...

Here is the rationale:

Supposed I am developing several different programs:
<A>: just my own C code, compiled with "gcc -mno-cygwin"
<B>: my own C + PCRE: I could compile it with "gcc -mno-cygwin", but
     PCRE requires cygwin - for no technical reason because actually
     PCRE compiles under win32 natively, without cygwin
<C>: my own C + PCRE + X: there is no way to build it without cygwin,
     because there is no native w32 port of X

Thus right now I can build a native w32 version of <A> but only cygwin
versions of <B> and <C>.
I want to be able to build a native w32 version of <B> also.

To do that, I must install _also_ MinGW - with its idiosyncratic
installation system &c.

Note that I cannot switch to MinGW completely because it does not
support X, so I am either stuck with <B> using cygwin (for no technical
reason), or with two separate independent development systems (Cygwin
and MinGW).


Sam Steingold ( running w2k
<> <> <>
<> <>
Apathy Club meeting this Friday.  If you want to come, you're not invited.

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]