Skip to content

Update INSTALL by adding cross-compile guide for OpenHarmony #758

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kuniqi
Copy link

@kuniqi kuniqi commented Jun 9, 2025

This is cross-compile guide of building the pcre2 in OpenHarmony, so we'd like to contribute it. Hope it will help the developers.

@NWilson
Copy link
Member

NWilson commented Jun 11, 2025

Thank you for the contribution.

Are you expecting people to use CMake or Autoconf on OpenHarmony? I'm surprised that you wouldn't direct users to the CMake build for a modern platform.

The text you've contributed is a link to a document which doesn't contain any details specific to PCRE2. Is that what you expected?

Secondly, the text interrupts the explanation about building "fat" binaries on MacOS. The paragraph afterwards explains how to use "lipo", which connects with the paragraph above.

@kuniqi
Copy link
Author

kuniqi commented Jun 12, 2025

Yes, we using the cmake on OpenHarmony. And the real project we use is in this link (https://gitcode.com/openharmony-sig/tpc_c_cplusplus/tree/master/thirdparty/pcre2). And because we have our own build framework named lycium, so we just put the most common ways into the install file.

For the wrong position of the install file, i'v move the lines after the 'lipo' tools line. Thanks again for your reply.

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

Successfully merging this pull request may close these issues.

2 participants