[LLVMdev] newbie question regarding llvm-mingw

Anton Korobeynikov asl at math.spbu.ru
Thu May 1 03:48:54 PDT 2008


Hello, Ralf

> ERROR: Program used external function '__main' wich could not be
> resolved!
This was the bug fixed soon after 2.2 release.
 
> I get the same error if I link the program with: "llvm-ld -v --stats
> hello_world.bc -o hello_world.exe"
> ... and execute the resulting "hello_world.exe"
Right, because produced .exe just calls lli for bytecode execution.

> Only the standard c library? 
See above, it really depends how you're producing the .exe.

--
WBR, Anton Korobeynikov 



More information about the llvm-dev mailing list