Support : Knowledge base

Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Loading…

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-00802// Views: AA-00802// Created: 2011-12-14 05:00:00// Last Updated: 2022-08-10 20:16:50
HowTo
How to switch to GCC compiler instead of using Intel - (error GNUopicc compiler not found)

How to switch to GCC compiler on Redhat (instead of using Intel - GNUopicc compiler not found) 

Question:

For some reason I do not want to use the Intel compiler (or I cannot use the Intel compiler). Is it possible to use another compiler?

or 

I am facing the error : 

GNUopicc compiler not found.??? Error building sm_

Answer:

Important note: ALL XG TARGETS USING OPAL-RTLinux DO NOT HAVE THE INTEL COMPILER

In all cases, you can use the default GCC compiler that is a standard on the installation by setting a specific user variable in RT-LAB, under the Variables tab of your model.

RTLAB_INTEL_COMPILER and set it to 0

Note: 

- Removing the variable will bring back the Intel compiler as the compiler to be used

- In case that you want to add this variable for all your projects you can follow this article

To know more details about Intel and GCC compiler options please consult this KB Article.