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

Is it possible to run the VC4C compiler on x86_64? #167

Open
wuqs-net opened this issue Nov 19, 2024 · 3 comments
Open

Is it possible to run the VC4C compiler on x86_64? #167

wuqs-net opened this issue Nov 19, 2024 · 3 comments

Comments

@wuqs-net
Copy link

Thanks for your awesome work! I'm trying to compile a large piece of software which will take very long on the Raspberry Pi. So, I want to run the compiler on x86_64 and then copy the binary files to the Raspberry Pi. Is this possible?

@doe300
Copy link
Owner

doe300 commented Nov 19, 2024

Yes, I did develop the projects on an x64 machine, so the compiler does run there

@wuqs-net
Copy link
Author

Thank you for your reply! To do this, should I enable the CROSS_COMPILE flag? It looks like this flag is used to compile VC4C on x64, but I want to run VC4C on x64 to compile OpenCL program for the Raspberry Pi. I might be misunderstanding something, so please correct me.

@doe300
Copy link
Owner

doe300 commented Nov 19, 2024

If you want to compile on x64 for x64 you don't need the CROSS_COMPILE flag. It is only required if you want to compile the VC4C compiler itself on x64 for arm32.
For compiling the OpenCL code with VC4C it makes no difference on which platform the VC4C compiler is run.

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