Compiling C programs with gcc

Pubblicato il: 13 settembre 2017
sul canale di: Chris Gregg
6,426
43

In cs107, we will primarily be using Makefiles to compile our code, but you should know how to use gcc (the GNU Compiler Collection) to compile a C program independently.

We will use three primary flags in cs107:

-g : embed debugging information into the program so gdb will give us good information.
-Og : compile with gdb in mind, so it leaves in variable information and doesn't optimize out too many variables.
-std=gnu99 : the flavor of C we will be using for cs107.


In questa pagina del sito puoi guardare il video online Compiling C programs with gcc della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Chris Gregg 13 settembre 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 6,426 volte e gli è piaciuto 43 spettatori. Buona visione!