To compile a c project in Eclipse like this:
$ gcc -o outputFile -lssl -lcryptoSelect the project, right click and click Project Properties.
On the left side of the window that is popped up, go to C/C++ Build -> Settings.
On the right side there is a tree. Click GCC C Compiler -> Miscellaneous append your own flags (here, -lssl -lcrypto) to the end of the other flags. Do the same for the GCC Linker -> Miscellaneous and for GCC Assembler -> General.
To run the outputFile
$ ./outputfile MD5Add the argument (here MD5) by going to the Run Configurations and at the Arguments tab.