> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to