Compiling GDC-MinGW
Daniel Green
venix1 at gmail.com
Wed Mar 6 09:00:12 PST 2013
On 3/5/2013 2:02 PM, Benjamin Thaut wrote:
> Ok I just tested it with vanialla mingw, same problem itimerval is not
> defined in any of the mingw headers and thus compilation of ppl will fail.
It looks like a configuration issue when compiling PPL. itimerval looks
POSIX only.
Which version did you compile? I had no issue compiling it with PPL .11
and the following configure.
$ /crossdev/src/ppl-0.11/configure
--prefix=/crossdev/support-stage-tdm64/ppl/64 --build=x86_64-w64-mingw32
--disable-static --enable-shared CFLAGS=-O2
-I/crossdev/support-stage-tdm64/gmp/64/include CXXFLAGS=-DNULL=0 -O2
-I/crossdev/support-stage-tdm64/gmp/64/include LDFLAGS=-s
-L/crossdev/support-stage-tdm64/gmp/64/lib
The important option there is likely the --build=x6_64-w64-mingw32
More information about the D.gnu
mailing list