packages/gcc/gcc-cross_4.2.2: Attempt to fix the fortran issue
authorHolger Freyther <zecke@selfish.org>
Tue, 15 Jan 2008 22:58:54 +0000 (22:58 +0000)
committerHolger Freyther <zecke@selfish.org>
Tue, 15 Jan 2008 22:58:54 +0000 (22:58 +0000)
commit0b07e526611dc0e1867caa3eb6e4372855488026
treef44ea0a03c807ac60c4765a91732be8ddab75d87
parent5630386777914cd4a48811f077951c09e4fe18c4
packages/gcc/gcc-cross_4.2.2: Attempt to fix the fortran issue
    f951 was not executable because libmpfr and libgmp which were build by
    OpenEmbedded were not found. They resist in the staging lib directory and
    we do not have the LD_LIBRARY_PATH set.
    --enable-rpath for gcc was not an option, as we would have difficulties to
    say which path would be checked (we install to cross and not staging).
    Attempt to set an rpath when linking to mpfr/gmp. We pass --with-mpfr to the
    gcc-cross, patch the configure to add an -Wl,-rpath, to gmplibs, this gets
    set to GMPLIBS, which gets replaced to HOST_GMPLIBS in the Makefile inside the
    builddir, which will be used when linking the f951 utility.
packages/gcc/gcc-4.2.2/fortran-libs-rpath-to-staging-hack.patch [new file with mode: 0644]
packages/gcc/gcc-cross_4.2.2.bb