gcc -I ~/sqlite sqlite3.c -o sqlite.o gcc tried to make an executable file. If you want an object file you have to pass a -c option to stop gcc rigth after assembling the object file. gcc -c -I ~/sqlite sqlite3.c -o sqlite.o
gcc -I ~/sqlite sqlite3.c -o sqlite.o gcc tried to make an executable file. If you want an object file you have to pass a -c option to stop gcc rigth after assembling the object file. gcc -c -I ~/sqlite sqlite3.c -o sqlite.o