Cross building perf needs binutils libs libbfd and libiberity but cross ld cannot find them:
# powerpc-g2.19-linux-gnu-ld -lbfd
powerpc-g2.19-linux-gnu-ld: cannot find -lbfd
This is because libbfd and libiberity are installed in non standard locations:
# pwd
/usr/powerpc-g2.19-linux-gnu
# find -name libbfd.so
./usr/lib/binutils/powerpc-g2.19-linux-gnu/2.24/libbfd.so
./usr/powerpc-g2.19-linux-gnu/lib/libbfd.so
How to resolve this(other than manually creating sym links)?
Jocke
# powerpc-g2.19-linux-gnu-ld -lbfd
powerpc-g2.19-linux-gnu-ld: cannot find -lbfd
This is because libbfd and libiberity are installed in non standard locations:
# pwd
/usr/powerpc-g2.19-linux-gnu
# find -name libbfd.so
./usr/lib/binutils/powerpc-g2.19-linux-gnu/2.24/libbfd.so
./usr/powerpc-g2.19-linux-gnu/lib/libbfd.so
How to resolve this(other than manually creating sym links)?
Jocke