2021-07-09 10:27 PM
Hi,
I would like to compile a user space c++ application on the STM32MP157C-DK2. Is it possible to install GCC or G++ on the board?
I tried installing them via apt-get but seems like there is not any package with name gcc or g++.
How can i install it and how do i make sure it is up and running ?
I know we can use Yocto SDK to compile and transfer the code on to the board via SCP. But here i specifically want to compile it on board itself.
Any leads will be highly appreciated.
Solved! Go to Solution.
2021-07-11 11:30 PM
Hello @NPal.2
Indeed it is not possible to install gcc/g++ toolset on the board from the OpenSTLinux repository available from apt-get commands.
I guess the only solution for you is to:
Best regards,
--JM
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
2021-07-11 11:30 PM
Hello @NPal.2
Indeed it is not possible to install gcc/g++ toolset on the board from the OpenSTLinux repository available from apt-get commands.
I guess the only solution for you is to:
Best regards,
--JM
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
2021-07-13 01:22 AM
Hi @NPal.2
For your information you also have some support with STM32CubeIDE for user space project including C or C++ built.
Best Regards,
Ludovic