Your SlideShare is downloading. ×
0
The GNU C Compiler
José Dapena Paz <jdapena></jdapena>@igalia.com>
The GNU C Compiler
Tutorial based on this book:

            An introduction to GCC
         for the GNU Compilers gcc and...
Goals of this tutorial
●   Understand how to compile a program.
●   Use basic compiler options for optimisation and
    de...
Compiling a C program
Compiling a C program:

  $ gcc -Wall hello.c -o hello

Recommendation: use always -Wall:
● Nested c...
The Gnu C Compiler
The Gnu C Compiler
The Gnu C Compiler
The Gnu C Compiler
The Gnu C Compiler
The Gnu C Compiler
The Gnu C Compiler
The Gnu C Compiler
The Gnu C Compiler
The Gnu C Compiler
The Gnu C Compiler
The Gnu C Compiler
The Gnu C Compiler
Upcoming SlideShare
Loading in...5
×

The Gnu C Compiler

1,278

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,278
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
36
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "The Gnu C Compiler"

  1. 1. The GNU C Compiler José Dapena Paz <jdapena></jdapena>@igalia.com>
  2. 2. The GNU C Compiler Tutorial based on this book: An introduction to GCC for the GNU Compilers gcc and g++ Brian Gough This is available on network. More information on: http://www.network-theory.co.uk/gcc/intro/
  3. 3. Goals of this tutorial ● Understand how to compile a program. ● Use basic compiler options for optimisation and debugging.
  4. 4. Compiling a C program Compiling a C program: $ gcc -Wall hello.c -o hello Recommendation: use always -Wall: ● Nested comments ● Incorrect printf/scanf formats ● Unused variables ● Usage of implicit (non-declared) functions ● Function return types. ● Other checks... (see GCC reference manual).
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×