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 -

delphi - When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first? -

python - Obscure curses error message when creating a sub window -