If required this option must be the first option on the command line. It instantiates a project template type from the installed packages. The files and common project properties of the project template are used by the compiler driver. Project configurations are not supported by the compiler driver, use CrossBuild if you require project configurations.
The following command builds an executable based on the STM32_EXE project template.
cc -ySTM32_EXE -zTarget=STM32F100C4 file.c -o file.elf