[LLVMdev] gfortran link failure in current llvm svn

Duncan Sands baldrick at free.fr
Mon Aug 11 09:53:13 PDT 2008


Hi Jack,

>      So you agree that nothing on that offending link line is
> really requiring g++?

it does require g++ in order to get the standard C++ libraries.

> ...I don't see why the linkage of the gfortran
> compiler itself should have anything to do with c++ code.

Because the llvm parts of gcc are written in C++.  Not to
mention llvm itself!

> Not even
> FSF gcc trunk has switched over to building with c++ yet. I assume
> that's also not the case with the llvm gcc 4.2 front end.

Parts of llvm-gcc are written in C++.

Ciao,

Duncan.



More information about the llvm-dev mailing list