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

Allow the user to select the arquitecture to compile #9

Closed
ggrieco-tob opened this issue May 31, 2019 · 3 comments
Closed

Allow the user to select the arquitecture to compile #9

ggrieco-tob opened this issue May 31, 2019 · 3 comments

Comments

@ggrieco-tob
Copy link

Eclipser takes quite a long time to compile, since it recompiles QEMU for i386 and x64, however usually the user needs only one them. Is it possible to add a flag in the Makefile to compile for only one of these?

@jchoi2022
Copy link
Collaborator

This seems to be a good idea. I will fix Makefile so one can build Eclipser for specific architecture, with make x86 and make x64.

@jchoi2022
Copy link
Collaborator

I updated build scripts and Makefile in ce47d08. Now one can run make x86 or make x64 to specify target architecture, which reduces QEMU build time. Running make will build QEMU for both architectures.

Note that even if you run make x64, running make in the next time will try to build QEMU for x86 architecture. Therefore, you should stick to make x64 in the subsequent builds, too. Actually this hassle can be avoided with a little fix, but it will make our Makefile somewhat hacky.

@ggrieco-tob
Copy link
Author

Thanks!

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

2 participants