Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Reply-To: From: "Norman Vine" To: "'Jason Tishler'" Cc: Subject: RE: Cygwin Problem Date: Fri, 9 Feb 2001 11:01:01 -0500 Message-ID: <000401c092b1$80db5b60$a300a8c0@nhv> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26 In-Reply-To: <20010209104000.E980@dothill.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Jason Tishler writes: > >On Fri, Feb 09, 2001 at 10:06:05AM -0500, Norman Vine wrote: >> It seems as if the newest stuff does not -D_WIN32 like it used to. >> >> Chris warned that this would cause lot's of things to break. >> >> I had to add a -mwin32 to all the gcc flags to get Python to compile. >> >> I am not sure that this is the best way because -mwin32 may do more >> then we want. -mwin32 is also only in the latest gcc ( 2.95.2.7 ) >> >> Any suggestions > >Unfortunately, I believe that the right solution is to do as Chuck did >in the following (see the first paragraph): > > http://sources.redhat.com/ml/cygwin/2001-02/msg00244.html > I do not think that this is the same problem Hopefully this dumb example will illustrate my point better Cheers Norman Vine /* jnk.c -- -mwin32 switch test $ gcc -DWIN32 jnk.c jnk.c:1: windows.h: No such file or directory $ gcc -mwindows jnk.c jnk.c:1: windows.h: No such file or directory $ gcc -mwin32 jnk.c $ a A dumb test */ #include int main(int argc, char **argv) { printf("A dumb test\n"); return 0; }