GCC C Compiler
GCC is a short of GNU Compiler Collection, a C compiler for Linux.
GCC syntax
$ gcc [options] [source files] [object files] [-o output file]
GCC options
GCC main options:
option | description |
---|---|
gcc -c | compile source files to object files without linking |
gcc -Dname[=value] | define a preprocessor macro |
gcc -fPIC | generate position independent code for shared libraries |
gcc -glevel | generate debug information to be used by GDB |
gcc -Idir | add include directory of header files |
gcc -llib | link with library file |
gcc -Ldir | look in directory for library files |
gcc -o output file | write build output to output file |
gcc -Olevel | optimize for code size and execution time |
gcc -shared | generate shared object file for shared library |
gcc -Uname | undefine a preprocessor macro |
gcc -w | disable all warning messages |
gcc -Wall | enable all warning messages |
gcc -Wextra | enable extra warning messages |
GCC examples
Compile file1.c and file2.c and link to output file execfile:
$ gcc file1.c file2.c -o execfile
Run output file execfile:
$ ./execfile
Compile file1.c and file2.c without linking:
$ gcc -c file1.c file2.c
Compile myfile.c with debug information and link to output file execfile:
$ gcc -g myfile.c -o execfile
Compile myfile.c with warning messages enabled and link to output file execfile:
$ gcc -Wall myfile.c -o execfile
Compile myfile.c with and link with static library libmath.a located in /user/local/math to output file execfile:
$ gcc -static myfile.c -L/user/local/math -lmath -o execfile
Compile myfile.c with optimization and link to output file execfile:
$ gcc -O myfile.c -o execfile
GCC code generator
Currently, we have around 5667 calculators, conversion tables and usefull online tools and software features for students, teaching and teachers, designers and simply for everyone.
You can find at this page financial calculators, mortgage calculators, calculators for loans, calculators for auto loan and lease calculators, interest calculators, payment calculators, retirement calculators, amortization calculators, investment calculators, inflation calculators, finance calculators, income tax calculators, compound interest calculators, salary calculator, interest rate calculator, sales tax calculator, fitness & health calculators, bmi calculator, calorie calculators, body fat calculator, bmr calculator, ideal weight calculator, pace calculator, pregnancy calculator, pregnancy conception calculator, due date calculator, math calculators, scientific calculator, fraction calculator, percentage calculators, random number generator, triangle calculator, standard deviation calculator, other calculators, age calculator, date calculator, time calculator, hours calculator, gpa calculator, grade calculator, concrete calculator, subnet calculator, password generator conversion calculator and many other tools and for text editing and formating, downloading videos from Facebok (we built one of the most famous Facebook video downloader online tools). We also provide you online downloanders for YouTube, Linkedin, Instagram, Twitter, Snapchat, TikTok and other social media sites (please note we does not host any videos on its servers. All videos that you download are downloaded from Facebook's, YouTube's, Linkedin's, Instagram's, Twitter's, Snapchat's, TikTok's CDNs. We also specialise on keyboard shortcuts, ALT codes for Mac, Windows and Linux and other usefull hints and tools (how to write emoji online etc.)
There are many very usefull online free tools and we would be happy if you share our page to others or send us any suggestions for other tools which will come on your mind. Also in case you find any of our tools that it does not work properly or need a better translation - please let us know. Our tools will make your life easier or simply help you to do your work or duties faster and in more effective way.
These below are the most commonly used by many users all over the world.
- Free online calculators and tools
- Time zones/Clocks/Dates calculators
- Free Online Units Conversion Calculators
- Free online web design tools
- Free online electricity & electronics tools
- Mathematics
- Online Tools
- Text Tools
- PDF Tools
- Code
- Ecology
- Others
- Free online downloaders for social media
- Marketing
- My PC / computer
- Linux
- Text
- cat command
- cd command
- cp -R command
- cp command
- cp overwrite file
- cp: omitting directory
- GCC
- gcc -c
- gcc -D
- gcc -fPIC
- gcc -g
- gcc -I
- gcc -L / -l
- gcc -o
- gcc -O
- gcc -Wall
- Is -l
- Is -S
- linux current directory
- Linux move file
- Linux view file
- ls -a
- ls -r
- ls -R
- ls -s
- ls -t
- ls command
- ls full path
- mv command
- pwd command
- VirtualBox ubuntu slow
And we are still developing more. Our goal is to become the one-stop, go-to site for people who need to make quick calculations or who need to find quick answer for basic conversions.
Additionally, we believe the internet should be a source of free information. Therefore, all of our tools and services are completely free, with no registration required. We coded and developed each calculator individually and put each one through strict, comprehensive testing. However, please inform us if you notice even the slightest error – your input is extremely valuable to us. While most calculators on Justfreetools.com are designed to be universally applicable for worldwide usage, some are for specific countries only.