Compiling and executing Redis ziplist.c -


how compile , execute redis ziplist.c individual executable ?

i want execute ziplist.c main function only.

you can use following command:

gcc -std=c99 -o2 -dziplist_test_main ziplist.c zmalloc.c util.c sds.c adlist.c 

note: use default system allocator.


Comments

Popular posts from this blog

All overlapping substrings matching a java regex -

c++ - Using OpenSSL in a multi-threaded application -

php - Deleting/Renaming a locked file -