What Is an Open Source C Compiler?
A compiler is an executable program that is designed to translate a high-level language (such as C) that is easy for a programmer to write into a low-level language that the machine can recognize.
- The default compiler setting is through the setting of global variables:
- Enter command mode and type the command: vi / etc / profile. In the open file, add: PATH = $ PATH: $ gcc_PATH / bin. Where: $ gcc_PATH is your compiler installation path.
- For example, mine is: PATH = $ PATH: / opt / codesourcery / arm-2008q3 / bin / opt / codesourcery / arm-2008q3, which is my gcc installation path. Then save and exit. After restarting, there is a default compiler.