| [reply] |
I've built 5.8.0 using cygwin. Built and tested, out of the box. There was a complaint in the test about some *dbm problem that I didn't track down.
What's wrong with using cygwin? AFAICT, it's the best way to get a large set of CPAN modules working straight away. Most of the XS stuff has to be massaged for the VC builds and I would imagine this is the case with the Borland compiler as well. If you had a body of Perl that you needed to deploy on Unix and you wanted to do some development on W2K, I'd say that cygwin would be the way to go.
Now, if you require a lot of Win32 modules that were developed under VC, I can see that, but, generally, I have few problems with cygwin.
| [reply] |
Thanks podmaster, using the borland free compiler worked fine, it appears you and courage were correct. most likely my installation of mingw32 was either outdated or running into one of the reasons mingw32 compilation support is noted as "experimental" heh.
Thanks again to all who responded.
----------------------------
ice cream doesn't have teeth.
| [reply] |
I don't suppose you have acces to Visual Studio 6, do you? I have been able to compile perl 5.8 with Visual Studio 6 C++ using normal nmake on Windows 2000.
I haven't as yet had much luck building stuff with mingw. I am using mingw with gcc version 3.2. What version gcc (with mingw) do you have? To find out type gcc -v or gcc --version.
--blm--
| [reply] [d/l] [select] |
I think it could be something wrong with your installation of mingw, which is probably too old and unsupported?
What is in that "stdio.h" file near mentioned line 364?
Also, if a compiler explains about different declarations, try make it same or may be temporarily remove declaration of that function from win32.c.
Courage, the Cowardly Dog | [reply] |
I use MingW32 as my dominant C/C++ compiler on Win95.
MingW32 won't compile the Windows OS headers as-is. The problems have to do with wchar_t: this is a built-in type for MingW32, but a typedef (or worse) for MSVC++. I had to do some minor patches before I could compile my math AI project. I suspect the patches would be different for Win2000 than Win95.
Also: what version of MingW32 are you on? Version 2.95.3-6 doesn't have _wfdopen anywhere in its stdio.h. I'd like to know if your version is later than that.
| [reply] |
Heh, I was using 2.0.0-3's included gcc, I upgraded gcc after getting the responses from podmaster and courage. Pretty sure that was the source of my problem, although I haven't tested the upgraded gcc yet since compiling with borlands free command line tools worked fine.
-----------------------------
ice cream doesn't have teeth.
| [reply] |