Hacker News new | past | comments | ask | show | jobs | submit login

$ echo "m;" > short.c

$ gcc -O0 -c short.c

short.c:1: warning: data definition has no type or storage class

$ ld -e _m -o short short.o

ld: warning: -macosx_version_min not specified, assuming 10.7

$ ./short

[1] 2040 segmentation fault ./short




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: