Displaying 2 results from an estimated 2 matches for "a49326f4".
Did you mean:
a4326fe
2009 Mar 27
0
[LLVMdev] LLVM-2.5 WinXP/Cygwin can't find puts() for the hello.c in GettingStarted document
Hi, Chuck
> How could I fix this WinXP/Cygwin only thing?
windows does not support dynamic linking, so there are 2 ways of
providing external addresses of symbols:
1. register them explicitly
2. They should be available from some .DLL already preloaded into the binary.
However, I'm not sure for 2. since cygwin uses unix-style of external
symbols resolution.
--
With best regards, Anton
2009 Mar 27
2
[LLVMdev] LLVM-2.5 WinXP/Cygwin can't find puts() for the hello.c in GettingStarted document
I am using LLVM 2.5 release, together with llvm-gcc4.2-2.5.
For the hello.c demo testing found close to the end of the
GettingStarted document:
#include <stdio.h>
int main() {
printf("hello world\n");
return 0;
}
Following the instructions:
obtaining the bc file: /llvm-gcc -O3 -emit-llvm hello.c -c -o hello.bc/
running through lli: * */lli hello.bc/
I got this