Skip to main content
Senior
August 29, 2021
Solved

Difference between arm-ostl-linux-gnueabi-gcc and arm-none-linux-gnueabi-gcc

  • August 29, 2021
  • 2 replies
  • 3333 views

The gcc variant in STM32MPU Embedded Software distribution components is 'arm-ostl-linux-gnueabi-gcc'. Then what's the difference between 'arm-ostl-linux-gnueabi-gcc' and 'arm-none-linux-gnueabi-gcc'?

Thanks.

This topic has been closed for replies.
Best answer by OlivierK

That is correct, arm-ostl-linux-gnueabi-gcc is the compiler to use for STM32MP for cross compilation: to recompile TF-A/U-boot and Linux kernel

Regards,

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'

2 replies

OlivierK
Technical Moderator
September 3, 2021

Hi diverger (Community Member) 

The gcc toolchain follows the arch-vendor-os-libc/abi syntax

"ost" stands for OpenSTLinux, it is the ARM cross compiler toolchain vendor name to be used in our OpenSTLinux SDK and optimized for our products. As opposed to the "none" which is the generic cross compiler toolchain provided by ARM.

https://wiki.st.com/stm32mpu/wiki/Menuconfig_or_how_to_configure_kernel#Menuconfig_and_Developer_Package

https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads

Rgds,

Olivier

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
divergerAuthor
Senior
September 4, 2021

So, the 'ost' version is the recommended compiler used in development with STM32MP, right?​

OlivierK
OlivierKBest answer
Technical Moderator
September 6, 2021

That is correct, arm-ostl-linux-gnueabi-gcc is the compiler to use for STM32MP for cross compilation: to recompile TF-A/U-boot and Linux kernel

Regards,

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'

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.