취미2021. 9. 22. 17:07

[22.4.25 업데이트] 안드로이드 사용자는 모르겠지만, 아이폰 사용자에게는 에어팟이 최고의 선택인듯;;

사용하던 에어팟 배터리가 메롱 한데, 새로 사기에는 넘 비싸고…
대안으로 Nothing ear (1)을 구매 해 봤다.
후기는 업데이트 하는걸로…
Coming soon!

Posted by 세월의돌

http://www.kaizou.org/2015/01/linux-libraries.html

Better understanding Linux secondary dependencies solving with examples

A few months ago I stumbled upon a linking problem with secondary dependencies I couldn’t solved without overlinking the corresponding libraries. I only realized today in a discussion with my friend Yann E. Morin that not only did I use the wrong solutio

www.kaizou.org


https://nglee.github.io/2018/10/11/Study-Linker-Options.html

라이브러리 배포 과정에서 알아두면 좋을 링커 옵션

이 포스트에서는 링커 ld(1) 가 제공하는 수많은 옵션들 중 라이브러리 배포 과정에서 요긴하게 활용할 수 있는 몇 가지 옵션들에 대해 알아보겠습니다.

nglee.github.io


$ readelf -d libxxx.so

LDFLAGS=“-Wl, -rpath, ../libs/“
gcc는 -Wl 옵션을 통해 linker에 전달할 옵션을 지정하는 것이 일반적이다(portable)

yocto bitbake에서 생성되는 환경변수 BUILD_LDFLAGS는 build-ccos/poky/meta/conf/bitbake.conf에 정의되어 있고, 명시적으로 -rpath-link가 추가되고 있다.
recipe에서 AAC_HOME과 BUILD_LDFLAGS 환경변수를 이용해서, -rpath-link를 추가 해 주면 될 듯.

recipe에서 EXTRA_OECMAKE를 사용하면, cmake 설정을 추가할 수 있다. (ex. EXTRA_OECMAKE=“-DCONNECTIVITY=ON”)

Posted by 세월의돌