Miscellaneous > Programming & Networking
An early Christmas present for you...
choasmaster:
dude, it won't like compile on my system
[choasforages@choasnet_v7 choasforages]$ gcc christmas.c
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function `_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18): undefined reference to `main'
/tmp/ccoesqKi.o: In function `n':
/tmp/ccoesqKi.o(.text+0x23): undefined reference to `main'
/tmp/ccoesqKi.o(.text+0x3c): undefined reference to `main'
/tmp/ccoesqKi.o(.text+0x4e): undefined reference to `main'
/tmp/ccoesqKi.o(.text+0x6c): undefined reference to `main'
/tmp/ccoesqKi.o(.text+0x83): more undefined references to `main' follow
collect2: ld returned 1 exit status
badkarma:
lol ... looks like you visited http://www.ioccc.org .... great stuff there
voidmain:
quote:Originally posted by choasmaster:
dude, it won't like compile on my system
--- End quote ---
Then you must not have copy/pasted it properly. I copy/pasted it into a file (and removed the leading white space before each line that somehow appeared in "vi" where I pasted it to). It compiled without a single error or warning message. In case you were wondering what the output of the code is, it's:
--- Code: ---
--- End code ---
choasmaster:
im stupid, i used emacs on FreeBSD and entered and it compiled, one question HOW, and WHY, i know is an obfustaction/*i can't spell*/ contest, but could you imagine maintaing that kinda code????
badkarma:
I think you would be in the looney house after a few months .... lol
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version