gcc / g++

gcc is a C compiler, g++ is a C++ compiler.

gcc

Version

gcc --version

Compile

gcc main.c -o program1

Cross compilation for Linux

sudo apt-get install gcc-multilib -y

Compile for 32-bit (Debian if done on Kali).

gcc 15285.c -o 15285 -m32

g++

Version

g++ --version

Compile

g++ main.cpp -o program1

Errors

ErrorFix
undefined reference to `SSL_library_init’-lssl