Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 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 added a commit that referenced this issue Sep 5, 2013
@FauxFaux
Copy link
Owner Author

@FauxFaux 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 Sep 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.