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

Fix host-multilib builds #5

Open
rubenvb opened this issue Aug 22, 2011 · 4 comments
Open

Fix host-multilib builds #5

rubenvb opened this issue Aug 22, 2011 · 4 comments

Comments

@rubenvb
Copy link
Owner

rubenvb commented Aug 22, 2011

find "The Correct Way" TM to specify CC="gcc -m32" to all projects.

@rubenvb
Copy link
Owner Author

rubenvb commented Sep 20, 2011

The idea that has the most chance of success is creating gcc/ld/ranlib/ar/etc... wrapper scripts that just call the tool with the right -m32 or -m64 or other architecture flag.

@rubenvb rubenvb closed this as completed Sep 20, 2011
@rubenvb rubenvb reopened this Sep 20, 2011
@net147
Copy link

net147 commented Dec 17, 2011

See https://sourceforge.net/tracker/?func=detail&atid=974442&aid=3413576&group_id=200665. I have written a wrapper that does exactly this that you might find useful as a starting point.

@rubenvb
Copy link
Owner Author

rubenvb commented Dec 17, 2011

Hmm... I agree with TDM. Shell wrapper scripts or CC/CXX should be a better way to handle this. I just haven't had the time to experiment with this timeconsuming bit :). And I build on Linux, so that would definitely be a no-go.

@net147
Copy link

net147 commented Dec 17, 2011

The wrapper I did was mainly for compiling projects in 32-bit using multilib MinGW-w64 compiler on Windows because I was too lazy to fiddle around with the compile flags for every library/project I need to build. It may not be directly related to this issue actually... but it might be useful to some people on Windows.

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

No branches or pull requests

2 participants