Answer the question
In order to leave comments, you need to log in
What do the GCC flags mean?
Hello.
Have a follow up question, what do the following flags mean when compiling?
gcc -o main main.o -lxdo
Some of the -lxdo flags I understood, but others not so much. Maybe someone knows how they are decrypted.
Thank you.
Answer the question
In order to leave comments, you need to log in
-o (output) - the name of the output file
-l (library) - the name of the library to link to (-lxdo means "use the libxdo library").
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question