Does not build on OSX #1

davidbanham opened this Issue Aug 16, 2012 · 4 comments


None yet

4 participants


And I want an ASCII car so bad!

gcc -o gti -O2 -Wall -Wextra -static gti.c
gti.c: In function ‘main’:
gti.c:31: warning: unused parameter ‘argc’
ld: library not found for -lcrt0.o
collect2: ld returned 1 exit status
make: *** [gti] Error 1

Removing the -static flag seem to resolve this issue. Can see no detrimental effects.

Alternatively you can change it to -Bstatic (via

Both methods were successful for me.

rwos commented Aug 16, 2012

Thanks everyone - I merged coryalder's solution.

@rwos rwos closed this Aug 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment