[LLVMdev] newbie question regarding llvm-mingw

Anton Korobeynikov
Thu, 01 May 2008 10:48:54 -0000

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