From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fd705,4fa3cf2c993211a2 X-Google-Thread: 108717,4fa3cf2c993211a2 X-Google-Thread: 1164f8,4fa3cf2c993211a2 X-Google-Thread: 1094ba,4fa3cf2c993211a2 X-Google-Thread: 10adee,4fa3cf2c993211a2 X-Google-Attributes: gidfd705,gid108717,gid1164f8,gid1094ba,gid10adee,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!newsmst01b.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr13.news.prodigy.com.POSTED!76fdf75a!not-for-mail Sender: From: dgriffi@cs.csbuak.edu (Dave Griffith) Subject: Re: The Helsinki Code Newsgroups: alt.folklore.computers,comp.programming,comp.sys.dec,comp.lang.fortran,soc.culture.nordic Followup-To: alt.folklore.computers References: <1134358062.550739.108660@f14g2000cwb.googlegroups.com> <1134362645.916762.143340@g43g2000cwa.googlegroups.com> User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (NetBSD/2.1 (i386)) Message-ID: NNTP-Posting-Host: 69.237.52.170 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr13.news.prodigy.com 1134373200 ST000 69.237.52.170 (Mon, 12 Dec 2005 02:40:00 EST) NNTP-Posting-Date: Mon, 12 Dec 2005 02:40:00 EST Organization: SBC http://yahoo.sbc.com X-UserInfo1: [[PAPDCAOPWWSQX[TBCBNWX@RJ_XPDLMN@GZ_GYO^BTJUZ]CDVW[AKK[J\]^HVKHG^EWZHBLO^[\NH_AZFWGN^\DHNVMX_DHHX[FSQKBOTS@@BP^]C@RHS_AGDDC[AJM_T[GZNRNZAY]GNCPBDYKOLK^_CZFWPGHZIXW@C[AFKBBQS@E@DAZ]VDFUNTQQ]FN Date: Mon, 12 Dec 2005 07:40:00 GMT Xref: g2news1.google.com alt.folklore.computers:20491 comp.programming:13054 comp.sys.dec:1385 comp.lang.fortran:11418 soc.culture.nordic:8421 In alt.folklore.computers slebetman@yahoo.com wrot > By the way, historically that is not the shortest piece of source code > ever written. Some time ago someone submitted a zero byte C source code > (an empty file) to the obfuscated C contest. Amazingly gcc recognised > it as a valid and legal C source code and compiled it into an > executable. The program, when run, outputs nothing. Thus it also claims > to be the shortest quine (self reproducing code) in history by printing > out itself (nothing). It actually won the competition. After that, the > obfuscated C contest banned all zero byte source code. Too bad you can't do that anymore just for giggles. Do you remember the hardware, OS, and compiler used? It still works with Perl. zaphod:/tmp$ touch foo.c zaphod:/tmp$ gcc --version gcc (GCC) 3.3.3 (NetBSD nb3 20040520) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. zaphod:/tmp$ gcc -o foo foo.c /usr/lib/crt0.o(.text+0x86): In function `___start': : undefined reference to `main' zaphod:/tmp$ -- David Griffith dgriffi@cs.csbuak.edu <-- Switch the 'b' and 'u'