[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cannot cross-compile gawk-3.1.5 with mingw
From: |
Mike Frysinger |
Subject: |
cannot cross-compile gawk-3.1.5 with mingw |
Date: |
Wed, 15 Nov 2006 18:23:52 -0500 |
User-agent: |
KMail/1.9.5 |
tried googling/mail archives but couldnt find anything relevant ... is there a
cvs repo for gawk somewhere ?
when i try to cross-compile gawk-3.1.5, gawkmisc.c fails:
if
mingw32-gcc -DDEFPATH="\".:/usr/share/awk\"" -DHAVE_CONFIG_H -DGAWK
-DLOCALEDIR="\"/usr/share/locale\"" -I. -I. -I. -g -O2 -MT
gawkmisc.o -MD -MP -MF ".deps/gawkmisc.Tpo" -c -o gawkmisc.o gawkmisc.c; \
then mv -f ".deps/gawkmisc.Tpo" ".deps/gawkmisc.Po"; else
rm -f ".deps/gawkmisc.Tpo"; exit 1; fi
gawkmisc.c:38:23: error: gawkmisc.pc: No such file or directory
make[2]: *** [gawkmisc.o] Error 1
reason for failure is pretty obvious ... gawkmisc.pc only exists in pc/ but
the gawkmisc.c file does:
#if defined(MSDOS) || defined(OS2) || defined(WIN32)
#include "gawkmisc.pc"
#else /* not MSDOS, not OS2, not WIN32 */
-mike
pgpBIV94aA3kB.pgp
Description: PGP signature
- cannot cross-compile gawk-3.1.5 with mingw,
Mike Frysinger <=