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

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -