On 12.05.18 18:14, Iuri Sampaio wrote:
how would I generate .o and .so from .c?May I use gcc? What are the necessary parameters ? (if needed) i.e. gcc -g -O -c hello.c -fPIC -DPIC -o .libs/hello.o
Are you writing your first C program? Please get a C book or find appropriate online materials. With C it is quite easy shooting yourself in the foot. The parameters depend on many things, the C compiler, the program, the libraries, the operating system, the level of optimization or debugging, kind of linking, etc. In the context of NaviServer, use the provided Makefiles unlessyou know what you do. Check out stackoverflow etc. for such kind of question and please send only questions concerning naviserver to this list. -gn
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel