Giter Site home page Giter Site logo

Comments (3)

wmcbrine avatar wmcbrine commented on June 4, 2024

When I installed mingw-w64, I installed a 32-bit version (i686-8.1.0-posix-dwarf-rt_v6-rev0), alongside a 64-bit version (x86_64-8.1.0-posix-seh-rt_v6-rev0). Each of these builds it natively, with no extra flags needed. I haven't really explored cross-compiling it.

from pdcurses.

Bill-Gray avatar Bill-Gray commented on June 4, 2024

I have explored cross-compiling. In fact, I rarely do Windows builds any other way. The Makefile from my fork will work with William's branch. For cross-compiling, you need to add either _w32=1 or _w64=1 to get the suitable prefix.
It essentially does what you describe (adding prefixes to CC, LINK, LIBEXE, and WINDRES). Maybe you missed one?

from pdcurses.

MCRusher avatar MCRusher commented on June 4, 2024

Ok so I took forever to fix it, I felt bad about leaving it open but I didn't want to close it without resolving the issue.

I made manual changes to the values to now be

CC = i686-w64-mingw32-gcc AR = i686-w64-mingw32-gcc-ar STRIP = strip LINK = i686-w64-mingw32-gcc WINDRES = C:\mingw-w64\i686-8.1.0-win32-sjlj-rt_v6-rev0\mingw32\bin\windres

and it seems to work.

I reinstalled mingw both 64 and i686 and also realized I had been using the wrong make, instead of mingw32=make.
I fixed those but mingw32-make was still calling the wrong gcc so I added both to path and referenced the i686 specific one.
Now it seems to build fine.

Thanks for listening and trying to help, and sorry I took so long to finish.

from pdcurses.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.