develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [ID 20010731.105] MinGW can't compile win32.c on Windows 2000

Thread Previous | Thread Next
From:
John Kristian
Date:
August 2, 2001 04:51
Subject:
Re: [ID 20010731.105] MinGW can't compile win32.c on Windows 2000
Message ID:
017e01c11a9b$13ad92c0$0100a8c0@JOHNKRISTIAN
Yes, I imagine the Perl 5.6.1 code worked with an older version of
MinGW (although I haven't tried it).  On the other hand, I expect most
people will use the current version of MinGW.  So, future versions of
Perl should change to work with the current MinGW.  IMHO.

- John Kristian

----- Original Message -----
From: "Konovalov, Vadim Vladimirovich (Vadim)" <vkonovalov@lucent.com>
To: "John Kristian" <jmk2001@engineer.com>; <perl5-porters@perl.org>
Sent: Tuesday, July 31, 2001 11:00 PM
Subject: RE: [ID 20010731.105] MinGW can't compile win32.c on Windows
2000


> > To build Perl using MinGW-1.0.1-20010726,  I found it necessary to
> > change win32.c, as follows (from `diff -u`):
> >
> > --- Perl-5.6.1/win32/win32.c    Sat Mar 03 20:53:19 2001
> > +++ Perl-5.6.1-MinGW/win32/win32.c Mon Jul 30 22:40:17 2001
> > @@ -1627,7 +1627,7 @@
> >         char *arch;
> >         GetSystemInfo(&info);
> >
> > -#if (defined(__BORLANDC__)&&(__BORLANDC__<=0x520)) ||
> > defined(__MINGW32__)
> > +#if (defined(__BORLANDC__)&&(__BORLANDC__<=0x520))
> >         switch (info.u.s.wProcessorArchitecture) {
> >  #else
> >         switch (info.wProcessorArchitecture) {
>
> don't you think that those "|| defined(__MINGW32__)" were inserted
by someone with same compiler that you use but more previous version?



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About