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

Glib GIOChannel -

android - change the return key -

All overlapping substrings matching a java regex -