CIS2750 Midterm Questions with

Study Guides Aug 1, 2025
Loading...

Loading document viewer...

Page 0 of 0

Document Text

CIS2750 Midterm Questions with Complete Solutions (Latest 2025) -o, -Wall, -pedantic, -std=c99 in makefiles what do each of

these do - Correct Answers ✅-o: names the

executable/output file

-Wall: activates all warnings

-pedantic: really picking with warnings

-std=c99: uses c99 standard for compiling

-E in makefile - Correct Answers ✅processor translates directives into more c code, inserts all code from stdio.h -c in makefile - Correct Answers ✅compiler converts c code into object code makefile linker - Correct Answers ✅connects object code to standard or non standard libraries how to link and create libraries in makefile - Correct Answers ✅link library -l(name of library) -L. provides path to library that isn't in defaults -fPIC in makefile - Correct Answers ✅creates position independent code, doesn't assume where in memory your code will be 1 / 2

CIS2750 Midterm Questions with Complete Solutions (Latest 2025) -shared in makefile - Correct Answers ✅creates a shared library .so what does export LD_LIBRARY_PATH='pwd' do - Correct Answers ✅tells os where the .so file is at runtime advantages of making - Correct Answers ✅makes repeated compilation easier all in makefile - Correct Answers ✅lists everything you want the make command to create by default clean in makefile - Correct Answers ✅deletes intermediate files

make file rule format - Correct Answers ✅target:

dependencies command

target: what you want to create

dependencies: what you need to run command

command any unix command (gcc or clang)

  • / 2

Download Document

Buy This Document

$30.00 One-time purchase
Buy Now
  • Full access to this document
  • Download anytime
  • No expiration

Document Information

Category: Study Guides
Added: Aug 1, 2025
Description:

CIS2750 Midterm Questions with Complete Solutions (Latest 2025) -o, -Wall, -pedantic, -std=c99 in makefiles what do each of these do - Correct Answers ✅-o: names the executable/output file -Wall:...

Get this document $30.00