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

instructions on compiling with capstone diet, architecture specific #818

Open
ajwerner opened this issue Sep 9, 2024 · 4 comments
Open

Comments

@ajwerner
Copy link

ajwerner commented Sep 9, 2024

If I wanted to compile gum with capstone set to just one architecture, and in diet mode, how would I do it?

@oleavr
Copy link
Member

oleavr commented Sep 10, 2024

Try: ./configure -- --force-fallback-for=capstone -Dcapstone:profile=slim -Dcapstone:archs=x86

@ajwerner
Copy link
Author

Beautiful!

@ajwerner
Copy link
Author

Is there a way to build a devkit (something the rust bindings will be happy with) with these options? It appears that the devkit size isn't meaningfully affected by this.

@ajwerner ajwerner reopened this Sep 10, 2024
@ajwerner
Copy link
Author

I was able to make it work by manually copying over the built capstone into the sdk, but that feels messy.

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