0

I have a cash directory in which my source code cash.c and machine code cash are within. Why does this pop up?

$ cd workspace
$ cd cash.c
$ make cash
clang -fsanitize=signed-integer-overflow -fsanitize=undefined -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wshadow    cash.c  -lcrypt -lcs50 -lm -o cash
1

That's normal. That last line is executing the necessary compiler commands, and showing you the default flags and parameters used to compile your cash program. It's not an error message.

If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)

3
  • So how can I actually run the program? I typed in make cash, should I use some other command line? – Anastasia Toska Nov 10 '20 at 18:59
  • make does not execute a program, it only creates it. To run a program, assuming you're in the same directory as the program, you enter ./ followed by your program name, as in ./myprogram – Cliff B Nov 11 '20 at 19:27
  • Thank you some much this helped me I have been stuck for a week haha – Anastasia Toska Nov 12 '20 at 17:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .