experiment one
- Each .c file, each .h a file, the file name in the best have their own student number
- Vi-enter the code and compile with gcc
- K in the Vi using printf find help documentation
- Vi editing process screenshot submission to full screen, contains its own student number information
************* the class code that pushes the code hosting platform ***************
Creating six empty file, the picture in each function writes a blank file separately, and modify the file name, but the first file name suffix .h, other file extensions are .c.
The second experiment
- Pre-code, the compiler, assembler, with the input link vi gcc
- Executable files generated have their own student number
- Submit pre-compiler, assembler, linker, run the process shots, to full-screen, contains its own student number information
************* the class code that pushes the code hosting platform ***************
Third experiment
- Gcc -g compiler code with the input vi
- Setting a breakpoint at line main function
- In the main function adds an empty cycle, the four cycles for their school, about half of the condition setting a breakpoint number school
- Screenshot submit debugging (must contain conditional breakpoints), to full-screen, contains its own student number information
************* the class code that pushes the code hosting platform ***************
Experiment 4
- In addition to main.c, the other four modules (add.c sub.c mul.c div.c) do not want the source code to others, how to make a mymath.a static library? main.c how to use mymath.a?
- Submit Static library generation process and calls shots (must contain conditional breakpoints), to full-screen, contains its own student number information
************* the class code that pushes the code hosting platform ***************
Experiment 5
- In addition to main.c, the other four modules (add.c sub.c mul.c div.c) do not want the source code to others, how to make a mymath.so shared library? main.c how to use mymath.so?
- Submit shared library and call the procedure screenshots (must contain conditional breakpoints), to full-screen, contains its own student number information
************* the class code that pushes the code hosting platform ***************
Sixth experiment
makefile 1 vi editor to write compile the above code, compiled object file testmymath, only with an explicit rule on it.
2 Make submission process shots, to full-screen, contains its own student number information
************* Makefile the class code that pushes the hosting platform ***************