Can you right click on the project in the Project Explorer and select properties ?
When you select the compiler version, click the button more.
Then, select "new build-tool from file-system".
Browse to the folder where the Red Hat gcc compiler is installed.
Then your project should be switched to use the new compiler.
-Raymond