21 May
2008
21 May
'08
12:59 p.m.
on i386-darwin, the file doesn't compile (I saved the file as "mini"):
ld: warning in mini, file is not of required architecture Undefined symbols: "_main", referenced from: start in crt1.10.5.o ld: symbol(s) not found collect2: ld returned 1 exit status
Are you sure you copy the right source code? Here is the result on Mac OS X intel 10.5: $ gcc -Wall test.c -o test epicalyx:c jjgod$ ./test sysname: Darwin nodename: epicalyx.local release: 9.2.2 version: Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 machine: i386