Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Jianguo Wang <jwang@bi...> - 2002-01-16 22:55:33
A program is complied well under cygwin. But when I compile it under the
newest version of mingw32, the error is that: strings.h sys/times.h and
param.h are not available. How can I deal with that? Is there some files I
Your help is highly appreciated.
International Biometric Group
From: Tor Lillqvist <tml@ik...> - 2002-01-16 23:31:45
Jianguo Wang writes:
> A program is complied well under cygwin. But when I compile it under the
> newest version of mingw32, the error is that: strings.h sys/times.h and
> param.h are not available. How can I deal with that?
Get a life?
Oh, seriously... in general, there is no reason to expect that a
program which builds under Cygwin would build under mingw. Cygwin
tries hard to look like a kind of Unix, while mingw (or actually, the
Microsoft C library msvcrt.dll) provides only ANSI C functionality
(with a few easily implemented Unixish functions like open/read/close
added, and a few more like opendir/readdir/etc added by a
If the program uses Unix functionality not provided by the Microsoft C
library you will have to port it to use what Windows provides.
(But at first, you could try to replace strings.h with string.h,
sys/times.h with time.h and remove sys/param.h. Probably that will
only mean lots of other compilation errors, though...)