Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I am so lost on this question I found an answer but the professor said we can no

ID: 3663928 • Letter: I

Question

I am so lost on this question I found an answer but the professor said we can not use it. n We are running on a linux machine and is in c code. here is what I did before I found out that we couldnt use it.

CFLAGS = -g -Wall -ansi -pedantic -Os

Added -Os this change was made in the make.c file.

This did shrink the executable after re running make but not allowed all suggestions are accepted.

Improve it so that the resulting binary is smaller (see man size) by at least 5%, without losing any functionality, and yet the source code is easier to understand.

Explanation / Answer

-Os is a flag to use the compielr optimiser. I guess the professor wants you to reduce the complexity, or maybe length of the source code. Maybe unlinking some libraries, and just using specific functionality might help.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote