Skip to content

Instantly share code, notes, and snippets.

@wincent
Created May 23, 2014 14:19
Show Gist options
  • Save wincent/0670929c02978e113a2a to your computer and use it in GitHub Desktop.
Save wincent/0670929c02978e113a2a to your computer and use it in GitHub Desktop.
$ make clean
$ ruby extconf.rb
checking for float.h... yes
checking for ruby.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for fcntl.h... yes
checking for sys/errno.h... yes
checking for sys/socket.h... yes
checking for ruby/st.h... yes
checking for st.h... yes
checking for pthread_create() in -lpthread... yes
creating Makefile
$ grep 'CC =' Makefile
CC = gcc-4.2
$ make
compiling ext.c
compiling match.c
compiling matcher.c
compiling watchman.c
linking shared-object ext.bundle
$ make clean
$ CC=clang ruby extconf.rb
checking for float.h... yes
checking for ruby.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for fcntl.h... yes
checking for sys/errno.h... yes
checking for sys/socket.h... yes
checking for ruby/st.h... yes
checking for st.h... yes
checking for pthread_create() in -lpthread... yes
creating Makefile
$ grep 'CC =' Makefile
CC = clang
$ make
compiling ext.c
compiling match.c
compiling matcher.c
compiling watchman.c
linking shared-object ext.bundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment