Yes, but Story stated gcc already so in this case/context it IS the compiler.
Story, use a Makefile. (probably useful to learn make long term) But a simple one like this will get you going: (note: the -g is important for you to start debugging) --------------------------------------------------------------------- PROG = helloworld SRCS = helloworld.c MAN = CFLAGS += -g -O0 .include <bsd.prog.mk> --------------------------------------------------------------------- On Wed, 18 Nov 2026, nufspmii wrote: > gcc is not "the compiler", but "a compiler". > > > On 18. Nov 2026, at 5:52 AM, Story <[email protected]> wrote: > > > > Hello misc@. How do you choose your compiler flags? Do you do it by > > project, or do you have a big block that you use every time? Do you have a > > generic Make file that you copy as a template, or do you hand pick the > > compiler specifics every single time you write new code? > > > > Or, do you, like me, just hit the up button on the terminal until you get > > to the very long gcc command with a ton of arguments and edit the file > > arguments? > > > > > > thank you for your attention to this trivial matter, > > > > Story Lynn from Kentucky > > > >

