Hello, Chuck.> "Error, Program used external function _alloca which could not be resolved!"I think the problem is the same. But... Cygwin is handled separately, because it's really more unix-like, that e.g. mingw32. Even more, it uses "unix" variant of libSystem. Probably you have to introduce the same hook (as for mingw32 / vcpp) there. -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.
Anton, Thank you for your reply. I am new to LLVM, and still in the learning process of getting LLVM 2.0 build and working. What do you mean "introduce the same hook ..."? Put the patch file into LLVM source tree and recompile? Is there a somehow detailed description on what I should do? I am using LLVM-2.0 on WinXP/Cygwin, GNU Tool Chain (gcc 4.2.0). Thank you Chuck Anton Korobeynikov wrote:> Hello, Chuck. > > >> "Error, Program used external function _alloca which could not be resolved!" >> > I think the problem is the same. But... Cygwin is handled separately, > because it's really more unix-like, that e.g. mingw32. Even more, it > uses "unix" variant of libSystem. Probably you have to introduce the > same hook (as for mingw32 / vcpp) there. > >
Or, has the problem been fixed in the most recent CVS tree? {If I extract source from CVS and build again, will the error go away?} Thank you Chuck Anton Korobeynikov wrote:> Hello, Chuck. > > >> "Error, Program used external function _alloca which could not be resolved!" >> > I think the problem is the same. But... Cygwin is handled separately, > because it's really more unix-like, that e.g. mingw32. Even more, it > uses "unix" variant of libSystem. Probably you have to introduce the > same hook (as for mingw32 / vcpp) there. > >