How To Compile C Code To A So

[Solved] How To Compile C Code To A So | Solidity - Code Explorer | yomemimo.com
Question : how to compile and run a program in c

Answered by : blushing-beetle-q1xm8wh3kvx3

//for UBUNTU and other linux distros
gcc -o my_program my_program.c
//to run..
./myprogram

Source : https://itsfoss.com/run-c-program-linux/ | Last Update : Mon, 27 Dec 21

Question : how to compile c code to a .so

Answered by : homeless-herring-v23l5o9dt2ey

gcc -shared -o libhello.so -fPIC hello.c

Source : https://stackoverflow.com/questions/14884126/build-so-file-from-c-file-using-gcc-command-line | Last Update : Sun, 12 Jul 20

Question : compile in c

Answered by : amir-ammar

 gcc -std=c99 -Wall .\main.c -o helloWorld

Source : | Last Update : Thu, 17 Mar 22

Question : compile c program

Answered by : amused-ant-me9h38ygoj9m

$ gcc hello.c
$ ./a.out

Source : https://www.studytonight.com/c/compile-and-run-c-program.php | Last Update : Thu, 28 Oct 21

Question : compile c program code

Answered by : tired-toad-t5l0g4u54y37

# Compile Code
gcc filename.c
# Run code
.\a.exe

Source : | Last Update : Fri, 18 Jun 21

Answers related to how to compile c code to a so

Code Explorer Popular Question For Solidity