gcc -O2 -Wall -ansi -D_GNU_SOURCE no -pedantic-errors because of netdb.h This will be used to compile .c files.