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

Cross-compiling for Aarch64 #93

Open
Desperado17 opened this issue Jul 7, 2023 · 3 comments
Open

Cross-compiling for Aarch64 #93

Desperado17 opened this issue Jul 7, 2023 · 3 comments

Comments

@Desperado17
Copy link

Greetings,

I want to cross-compile this for an Aarch64 Poky Linux target using a toolchain that supplies among others aarch64-linux-gnu-g++. The target itself has a JRE in a preset path for which I could obtain the corresponding JDK both for Aarch64 and the corresponding version for host Linux that would conduct the compile.

Is there a manual somewhere on how to achieve this?

Regards

@jrudolph
Copy link
Member

jrudolph commented Jul 7, 2023 via email

@Desperado17
Copy link
Author

Just in theory:

If it has a JAVA_ROOT and a g++ it should be fine, yes?

@Desperado17
Copy link
Author

Ok, I successfully built attach-main.jar and libperfmap.so for the target. Now, how do I deploy these? I understand that I have to combine them somehow with the contents of /bin but how? I don't understand the manual completely in that regard.

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