Michael Maul
2009-Jul-08 23:54 UTC
[LLVMdev] lli on cygwin - ERROR: Program used "some standard c" function which could not be found
I've tried using llvm 2.5 and svn version with both gcc3.4 and gcc-4.3.2. It apparently is not finding the most standard c functions. I suspect this may be because they might live in cygwin.dll. Ins there any to force static linking. Or is there any build recipies that might help? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090708/3ce3c7ce/attachment.html>
Eli Friedman
2009-Jul-09 00:03 UTC
[LLVMdev] lli on cygwin - ERROR: Program used "some standard c" function which could not be found
On Wed, Jul 8, 2009 at 4:54 PM, Michael Maul<mike.maul at gmail.com> wrote:> I've tried using llvm 2.5 and svn version with both gcc3.4 and gcc-4.3.2. It > apparently is not finding the most standard c functions. > I suspect this may be because they might live in cygwin.dll. Ins there any > to force static linking. > Or is there any build recipies that might help?See http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-March/021267.html . -Eli
Michael Maul
2009-Jul-09 00:54 UTC
[LLVMdev] lli on cygwin - ERROR: Program used "some standard c" function which could not be found
Sorry the link doesn't really help much.>>See http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-March/021267.html .I saw that post, dosen't really help much.> 1. register them explicitlyWhat does register them explicitly mean?> 2. They should be available from some .DLL already preloaded into thebinary. Well I expect that they live in the static lib libc.a. Thing is there are working ports , though I think they were done on mingw however which work but I need to link against the libs and those are not provided in the binary builds. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090708/1ad8a008/attachment.html>