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

Examples of cross-compiling / embedded usage #141

Open
bitandquit opened this issue May 9, 2024 · 0 comments
Open

Examples of cross-compiling / embedded usage #141

bitandquit opened this issue May 9, 2024 · 0 comments

Comments

@bitandquit
Copy link

Hi,

This is a great project!

I wanted to ask, can you provide some examples that show how to cross-compile for embedded use-cases? For example, would it just be setting the 'CC' environment variable? How would I specify something like a linker script, and the C-start-up code?

This is all commonly done for embedded environments (baremetals, without an OS, etc).

This is an example (not mine) of CMake for an ARM cortex-m0: https://github.com/infohoschie/arm-cortex-m0-cmake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant