Prev | Current Page 1100 | Next

Michael McCallister

"openSUSE Linux Unleashed"

8).
CHAPTER 28 Programming Tools 580
FIGURE 28.6 In Anjuta, project names are one word, and you can code in both C and C++.
FIGURE 28.7 Make final adjustments and choose an icon in the project settings here.
FIGURE 28.8 When Anjuta generates source code, you still must compile, build, and execute
the code.
Using the GNU Compiler Collection
The GNU C Compiler (GCC), first written by Richard Stallman in 1987, has grown over
time to support six other languages: Ada, C++, Fortran, Java, Objective-C, and Objective-
C++. This is why the official name changed to the GNU Compiler Collection. Version 4.0
came out in April 2005.
Open a shell, change to the directory you saved your program to, and compile your
program:
gcc -o hello hello.c
TIP
Your editor may have a direct link or command to run the compiler, so you can test
your program without leaving the editor. Consult the editor??™s documentation.
Using the GNU Compiler Collection 581
28
After Anjuta has generated the source code and a configure script, you must compile and
build the application before you can run it.


Pages:
1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112
katalog stron szambo betonowe wierszyki dieta light katalog stron