Getting Started with GCC-ERC32: C/C++ Compilation System for Mission Critical Spacecraft Applications | ||
---|---|---|
Prev | Next |
Here is a list of questions and answers.
A: On Solaris and Linux you can install the files in a directory of your choice then create a symbolic link from /opt/gcc-erc32-1.7/ to that directory. On Microsoft Windows you must install in C:\XGC-Compilers\GCC-ERC32-1.4\.
A: No. You must install GCC-ERC32 on drive C:.
A: On GNU/Linux, simply delete the directory /opt/gcc-erc32-1.7/ and its contents.
On Solaris, you should use the pkgrm command:
# pkgrm XGCgcer17
On Windows, select Start, Settings, Control Panel, Add/Remove Programs, GCC-ERC32 and press Remove.
A: Yes. You can write a program using both C and C++ programming languages. In particular you can call the C libraries from code written in C++.
A: Yes. Each object code module contains separate sections for instructions, read-only data, variable data and zeroized data. During the linking step, sections are collected together under the direction of the linker script file. The default is to collect each kind of section separately and to generate an executable file with separate code and data.
A: Yes. The program mkprom may be used to create a compressed image and bootstrap loader suitable for the Boot PROM.
A: GCC-ERC32 requires no special editing features and will work with your favorite text editor. If you use the GNU EMACS editor, then you will be able to run the compiler from the editor, and then relate any error messages to the source files. If you have no favorite editor, then we recommend the universal UNIX editor vi. This is shipped with most UNIX systems, and is available for Microsoft Windows too.
A: We recommend the GNU Bash shell. It offers a much better user interface than other shells, and is kept up to date.