[LINUX] Summary of gcc options (updated from time to time)

I've forgotten the gcc options, so I've summarized them (updated from time to time).

What is GCC?

** GCC ** stands for ** GNU Compiler Collection **. The GCC command is gcc. Developed by the GNU Project, it brings together compilers for various programming languages.

gcc options

option Description
-dumpversion Show version
--version Show version(In detail)
-v Show version(In more detail)
-o <file_name> Specify the name of the generated program( a.outCan be other than)
-Wall All general warning options turned on
-O, -O1 Optimize(The higher the number, the higher the optimization level)
-O2 Optimize(Specify this if you have no particular idea)
-O3 Optimize
--help View help

Recommended Posts

Summary of gcc options (updated from time to time)
Summary of vtkThreshold (updated from time to time)
vtkXMLUnstructuredGridReader Summary (updated from time to time)
vtkOpenFOAMReader Summary (Updated from time to time)
[Updated from time to time] Summary of design patterns in Java
vtkClipPolyData / DataSet Summary (Updated from time to time)
Machine learning python code summary (updated from time to time)
[Updated from time to time] Review of Let Code NumPy
Engineer vocabulary (updated from time to time)
Tensorflow memo [updated from time to time]
Private Python handbook (updated from time to time)
[Updated from time to time] PostmarketOS related notes
[Notes / Updated from time to time] This and that of Azure Functions
Summary of folders where Ruby, Python, PostgreSQL, etc. are installed on macOS (updated from time to time)
[Updated from time to time] LetCode algorithm and library
Notes on machine learning (updated from time to time)
OpenFOAM post-processing cheat sheet (updated from time to time)
progate Python learning memo (updated from time to time)
Useful help sites, etc. (updated from time to time)
Apache settings, log confirmation, etc. (* Updated from time to time)
I read the Chainer reference (updated from time to time)
Anaconda updated from 4.2.0 to 4.3.0 (python3.5 updated to python3.6)
(Updated from time to time) Summary of machine learning APIs that allow you to quickly build apps by Team AI
A memorandum of commands, packages, terms, etc. used in linux (updated from time to time)
(Updated from time to time) Storage location of various VS Code configuration files Memorandum memo
List of my articles that may be useful in competition pros (updated from time to time)
Summary of how to use pandas.DataFrame.loc
Summary of how to use pyenv-virtualenv
Python (from first time to execution)
Summary of how to use csvkit
[Note] AI / machine learning / python related websites [updated from time to time]
Summary of advantages (disadvantages) when switching from CUnit to Google Test
[Python] Summary of how to use pandas
[Python] Summary of array generation (initialization) time! !! !!
Easy conversion from UTC to local time
[Python2.7] Summary of how to use unittest
From Attention of Zero Tsuku 2 to Transformer
Summary of procedures up to PyPI registration
Summary of how to use Python list
[Python2.7] Summary of how to use subprocess
Summary of how to write AWS Lambda
Introduction to Scapy ① (From installation to execution of Scapy)
(Preserved version: Updated from time to time) A collection of useful tutorials for data analysis hackathons by Team AI
[Ansible installation procedure] From installation to execution of playbook
Summary of how to import files in Python 3
Summary of how to use MNIST in Python
Change the decimal point of logging from, to.
[mypy] Summary of options not enabled by `--strict`
Summary of studying Python to use AWS Lambda
From the introduction of pyethapp to the execution of contract
The story of moving from Pipenv to Poetry
Updated to Python 2.7.9
Understand design patterns by comparing implementations in JavaScript and Java [Updated from time to time]
measurement of time
Summary from the beginning to Chapter 1 of the introduction to design patterns learned in the Java language
[Updated from time to time] Python memos often used for data analysis [N division, etc.]
Sum from 1 to 10
The wall of changing the Django service from Python 2.7 to Python 3
I want to detect images of cats from Instagram
Summary of tools needed to analyze data in Python
Summary of useful tips for Linux terminals ☆ Updated daily