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

Broken cross compiling to 32-bit on 64-bit host #516

Closed
braich opened this issue Dec 4, 2015 · 3 comments
Closed

Broken cross compiling to 32-bit on 64-bit host #516

braich opened this issue Dec 4, 2015 · 3 comments

Comments

@braich
Copy link

braich commented Dec 4, 2015

Under 64-bit OS 64-bit compiler creates a working executable when make is invoked with ARCH=x86-32. But this executable is working only under 64-bit OS and not working under 32-bit OS.

@mstembera
Copy link
Contributor

This has been the case for a long time for me as well. Even before
#511
which is unrelated but offers a clue that we should be invoking a different compiler binary depending on whether we are building 32 or 64 bit binaries.

@zamar
Copy link

zamar commented Dec 6, 2015

I don't think that we've ever really supported cross-compiles in our Makefile.

And I'm not sure that we even should... It can easily create a big mess.

The only exception is Linux->Windows cross-compile, because this is a very common use-case.

@zamar
Copy link

zamar commented Dec 18, 2015

We do not provide support for out of the box cross-compiling. Thus nothing is broken.

People can hack the Makefile privately as much as they please. But this is not something that will go into main branch UNLESS someone finds really nice, cute and generic solution (but it's unlikely to happen).

Thus I'm closing this issue.

@zamar zamar closed this as completed Dec 18, 2015
niklasf pushed a commit to niklasf/Stockfish that referenced this issue Apr 9, 2018
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