[LLVMdev] Can't compile Dragonegg
tmroeder at google.com
Tue Dec 18 14:54:48 PST 2012
Thanks for the quick reply.
Actually, I just figured it out by reading the dragonegg instructions
again: I hadn't installed gcc-4.6-plugin-dev. Once I installed this,
the plugin built successfully (at least on that machine :)
On Tue, Dec 18, 2012 at 2:32 PM, Dmitry Mikushin <dmitry at kernelgen.org> wrote:
> Hi Tom,
> DragonEgg depends on GCC's and LLVM's internal headers, auto-host.h is one
> of them. Try to add GCC and LLVM_CONFIG with your make command as described
> here http://dragonegg.llvm.org/ in section "Getting it".
> - Dima.
> On 12/18/2012 10:24 PM, Tom Roeder wrote:
>> I'm trying to compile release 3.2 of DragonEgg (checked out from
>> http://llvm.org/svn/llvm-project/dragonegg/branches/release_32. I'm at
>> revision 170458), under Ubuntu (Ubuntu 12.04.1 LTS (GNU/Linux
>> 2.6.39-gcg-20121018 x86_64)) and I get the following error.
>> tmroeder at myubuntu:~/src/dragonegg$ make
>> Compiling utils/TargetInfo.cpp
>> Linking TargetInfo
>> Compiling Aliasing.cpp
>> /root/src/dragonegg/src/Aliasing.cpp:37:23: fatal error: auto-host.h:
>> No such file or directory
>> compilation terminated.
>> make: *** [Aliasing.o] Error 1
>> tmroeder at myubuntu:~/src/dragonegg$
>> my compiler is
>> tmroeder at myubuntu:~/src/dragonegg$ gcc --version
>> gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
>> Can anyone give me any suggestions about how to get this to build?
>> I've tried on the trunk and on another Ubuntu system with the same
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev