How to simply cross compile my main.c?

Hello everybody, I downloaded the toolchain for bcm2710 (Raspberry Pi 3 B+). Inside this archive, I've different folders, but I can't understand where to do the compilation command. This is the structure of the folder:
Cattura
which is the command to cross-compile my main.c?

Tried the README ?

Ask Broadcom, or the RPi Foundation.

If you downloaded the official OpenWrt toolchain (I'm not sure which one you are referring to), then some more information can be found on the Wiki: https://openwrt.org/docs/guide-developer/toolchain/start

However, it's usually better to use the SDK and create a package for your application.

1 Like

To cross compile, see:

I usually just set path and staging directories as noted in the Wiki. Then I browse to the folder containing the *.c file and run the appropriate compiler (C, C++, etc.). The a.out file will be in the folder once completed.

Download/use the SDK.