2019-2020-1 20175330 "Information security system design basis" in the first week learning summary

  • learning target
  • Familiar development environment under Linux
    2. familiar with the basic operation of vi
    3. familiar with the basic principles of gcc compiler
    4. familiar with common gcc compiler options
    5. skilled use gdb debugger techniques
    6. familiar with the basic principles and grammar makefile specification
    7. the method of generating call control static and dynamic libraries
    8. Almost understanding C program simulation modules, the principles of "high cohesion, low coupling" decomposition module
    9. understand the concept of the link
  • Laboratory building learning content summary
  • Pretreatment: gcc –E hello.c –o hello.igcc -E call cpp
  • Compile: gcc –S hello.i –o hello.sgcc -S call ccl
  • Compilation: gcc –c hello.s –o hello.ogcc -c calls as
  • Links: gcc hello.o –o hellogcc -o calling ld

  • GDB
  • Program is translated into a different format other programs
  • The processor reads and interprets instructions stored in memory and then
  • The processor reads and interprets instructions stored in memory and then
  • Hello program run
  • Compiler driver
  • Static links
  • Static library connection

Laboratory building exercises:

 

 

Guess you like

Origin www.cnblogs.com/waaaaa/p/11569774.html