17 Mar
2009
17 Mar
'09
4:32 p.m.
Hi. I'm checking if it possible to build an executable from C source files only. As an example: #include <stdio.h> int main () { printf("hello world\n"); return 0; } $ghc --make foo.c However this only produces the object file, foo.o; it does not build the executable file. What is the reason for this behaviour? I have tested with GHC 6.8.2. Thanks Manlio