Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
richardpoulson Contributor.

Re: Server Express C Compiler

Hi Michael

Micro Focus 5.1 Server

SUN Solaris 2.11

I found the answer to this problem, in the Micro Focus install directory etc, there is a file called cob.cfg, in here you can define the C compiler to use in line.

# C compiler and option

cccmd=${CC:-cc}  change to -gcc





1 Reply
Micro Focus Expert
Micro Focus Expert

Re: Server Express C Compiler

Since that's inheriting from the environment, you could simply set CC=gcc in your environment, rather than editing the file. I don't believe there's any guarantee this will work - that is, that you won't run into issues compiling or linking some sources with this configuration.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.