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

MinGW x32 #22

Open
mrladeia opened this issue Jan 31, 2016 · 4 comments
Open

MinGW x32 #22

mrladeia opened this issue Jan 31, 2016 · 4 comments

Comments

@mrladeia
Copy link

How can I compile on x32 in MinGW?

@lucasjones
Copy link
Owner

@mrladeia
Copy link
Author

mrladeia commented Feb 2, 2016

Yes, I have compiled on x64 with mingw, but not with no x32.

Have that change any settings to compile in x32?

@lucasjones
Copy link
Owner

Those instructions should also work for 32-bit compilation with MinGW. If you are trying to build a 32-bit executable from a 64-bit operating system you will have to install a 32-bit mingw toolchain and/or any necessary 32-bit libraries first.

To force the compilation of a 32-bit executable add the flag "-m32" to the CFLAGS environment variable when calling ./configure.

@marvic41
Copy link

Trying to build on Windows 7 32 bit. Installed MinGW and dependencies.
It crashed after this command.
LIBCURL="-lcurldll" ./configure CFLAGS="-march=native"
Where to find the LIBCURL or any thing missing in installing dependencies.
Downloaded code from https://github.com/lucasjones/cpuminer-multi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants