8. How do we make a program?
1. Enter some text in a file
2. Compile the file
3. Check for compilation errors
4. Link some compiled code
5. Check for linking errors
6. Run your program!
9. How do we make a program?
1. Enter somewin.cin a file
1. vim text
2.2.gcc –Wall thewin.c
Compile –c file
3. Check 3. echo $?
for compilation errors
4. gcc –Wall win.o iexplore.o
4. Link some compiled code
5. Check for linking errors
5. echo $?
6. Run your program!
6. ./a.out
10. How do we make a program?
1. Enter somewin.cin a file
1. 1. vim text
ShaderSource()
2.2.gcc –Wall thewin.c
2. CompileShader()
Compile –c file
3. Check 3. echo $?
3. COMPILE_STATUS
for compilation errors
4. 4. gcc –Wall win.o iexplore.o
4. Link some compiled code
AttachShader(); LinkProgram()
5. Check for linking errors
5. 5. echo $?
LINK_STATUS
6. 6. UseProgram()
Run your program!
6. ./a.out