Hi, <br>I'm writing a front-end for llvm with java. my front-end produces .ll files. Then I use the following commands to convert these files to an executable file:<br>!. for each .ll file I use 'llvm-as file.ll' to create a bitcode file<br>
2. use 'llvm-ld -o executable my-bitcode-files -L/usr/lib/i386-linux-gnu -lstdc++' to generate an executable file<br>then when I run the executable file, I get the following error:<br><br>LLVM ERROR: Program used external function '_Znwm' which could not be resolved!<br>
<br>what should I do to resolve this issue? <br>Any help would be appreciated <br>