[LLVMdev] LLVM-gcc for Ada
andrelct at dcc.ufmg.br
Thu Jun 4 06:15:35 PDT 2009
Duncan Sands wrote:
> Hi Eric,
>> llvm-main.o: In function `__static_initialization_and_destruction_0':
>> ned reference to `std::ios_base::Init::Init()'
>> ned reference to `std::ios_base::Init::~Init()'
>> llvm-main.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
> there's something very wrong with your C++ compiler. Rather than
> exporting CC and CXX like in Andre's instructions, I suggest you
> just export the PATH like in Andre's instructions before configuring/
> make. Also, are you aware of this page:
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
in my case, and probably his also, the instruction "CXX=" is necessary,
because g++ is broken and only g++-4.3 is working. So even if I put the
correct path it would never choose g++-4.3 over g++. The only choice is
to use "CXX=" to select g++-4.3 directly.
Master Student in Computer Science - UFMG - Brasil
More information about the llvm-dev