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 the compatibility of armcc with static libraries #485

Merged
merged 1 commit into from
Mar 23, 2021

Conversation

ming180
Copy link
Contributor

@ming180 ming180 commented Mar 17, 2021

No description provided.

@0xc0170
Copy link
Member

0xc0170 commented Mar 18, 2021

Hi @ming180 , can you describe what issues is this fixing? I can see couple of fixes introduced

@ming180
Copy link
Contributor Author

ming180 commented Mar 19, 2021

Hi @0xc0170, there are some differences between armcc and gcc:
1.the library name needs to use the basename and no prefix, such as libmymath.lib.
2.LIB_PATHS needs to use absolute paths. However, because the deduced path of make will be mixed with forward and backward slashes, this will make LIB_PATHS abnormal at compile time. Adding double quotes to each LIB_PATH can avoid these errors.
3.LD_SCRIPT will also have the same problem as the second point, use the same method to solve it.

@0xc0170 0xc0170 merged commit 1efa9a8 into project-generator:master Mar 23, 2021
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