[LLVMdev] Building llvm-gcc with fortran support

Duncan Sands baldrick at free.fr
Fri Aug 28 00:16:37 PDT 2009


Hi Scott,

> I then set LD_LIBRARY_PATH to include the path of the libs for
> gcc-4.3.2, add that version of gcc to the PATH, and then run gmake
> -j8.
...
> /usr/bin/ld: cannot find -lffi
> collect2: ld returned 1 exit status
> gmake[4]: *** [gfortran] Error 1

I've be trying to have my nightly testers use gcc-4.4 (to get a
comparison between llvm-gcc and gcc-4.4) and I'm hitting very
similar problems - libffi and libstdc++.  I haven't had time to
poke at it properly yet - I'd love it if someone could save me
some time by suggesting a solution!

Ciao,

Duncan.



More information about the llvm-dev mailing list