* Jose V Beneyto (sepen@crux-arm.nu) wrote:
Hi Victor,
On 06/07/10 14:48, Victor@crux-arm.nu wrote:
- find $PKG -type f -name '*.la' -exec sed "s|$CLFS||g" -i {} \; + find $PKG -type f -name '*.la' -exec sed -e "s|$CLFS||g" -e "s|$CROSTOOLS/$CTARGET|/usr|g" -i {} \; }
check_footprint() { good! +1 Great, thank you for the feedback Jose.
this patch is required to avoid this situations on the target device that could break native compilations:
$ grep -i crosstools /usr/lib/libgmpxx.la dependency_libs=' /usr/lib/libgmp.la /devel/crux-arm/toolchain-noeabi/crosstools/arm-crux-linux-gnu/lib/libstdc++.la'
and IMHO this causes to postpone RC5, so we need to regenerate at least all core packages to cleanup their .la files +1 This is what I was thinking this last weekend. Finding and fixing things bit by bit. And the ones related to native builds will appear slowly.
There is another thing that seems to don't hurt (may be there is a lack of knowledge from my side atm), for example: [pitillo@safe-env /des/crux-arm/toolchain/clfs/usr/lib]$ objdump -x libstdc++.so|grep RPATH RPATH /des/crux-arm/toolchain/crosstools/arm-crux-linux-gnueabi/lib This means that libtool will try on native builds to locate this path, but it doesn't exists and it will not be used.
Best regards,
Regards.
-- Jose V Beneyto | http://sepen.mine.nu/
_______________________________________________ crux-arm mailing list crux-arm@crux-arm.nu http://crux-arm.nu/mailman/listinfo/crux-arm
--- Learning bit by bit Victor Martinez | http://lokalix.dyndns.org