Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

FTBFS on mingw (cross compiling) #98

Closed
FauxFaux opened this issue Sep 5, 2013 · 1 comment
Closed

FTBFS on mingw (cross compiling) #98

FauxFaux opened this issue Sep 5, 2013 · 1 comment

Comments

@FauxFaux
Copy link
Owner

FauxFaux commented Sep 5, 2013

@mjbmr reports that cross compiling fails:

../windows/cygterm.c: In function 'getRegistry':
../windows/cygterm.c:458: error: 'KEY_WOW64_64KEY' undeclared (first use in this function)

This looks like just an old version of mingw (i586-mingw32msvc-) that doesn't support the (XP-era?) KEY_WOW64_64KEY.

However, I can't reproduce this properly on gcc-mingw-w64 (i686-w64-mingw32-) due to various issues; commits to follow.

@FauxFaux
Copy link
Owner Author

FauxFaux commented Sep 5, 2013

As of those two patches, I can build a working binary with:

make \
    VER="-DSNAPSHOT=$(date '+%Y-%m-%d') -DSVN_REV=$(svnversion) -DMODIFIED" \
    TOOLPATH=i686-w64-mingw32- \
    TARGET_ARCH= \
    -f Makefile.cyg \
    putty.exe
gcc-mingw-w64-i686:
  Installed: 4.6.3-13ubuntu1+8
        500 http://.../ubuntu/ saucy/universe amd64 Packages

@FauxFaux FauxFaux closed this as completed Sep 5, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant