this is supposed to be a FAQ, but unfortunately it is not.
How would I configure busybox to get linked against my custom Version of uclibc insted of the system glibc?
Unfortunately recent Versions of busybox are no longer statically linkable against glibc.
Sven
--
.. this message has been created using an outdated OS (UNIX-like) with an
outdated mail- or newsreader (text-only) :-P
/me is giggls@ircnet, http://sven.gegg.us/ on the Web
linking="yes" static="no" busybox="no" for opt in $* ; do case $opt in -c|-S|-E) linking="no" ;; -static) static="yes" ;; busybox_unstripped) busybox="yes" ;; # FIXME esac done
ldopts= suffix= if [ "$linking" == "yes" ] ; then ldir="${uclibc}/lib/" if [ "$static" == "yes" ] ; then crt1= if [ "$busybox" == "no" ] ; then crt1="${ldir}/Scrt1.o" fi ld_dyn= ld_libs="-L${ldir} -lc -lgcc"
suffix="${ldir}/libc.a ${gcclib}/libgcc.a" else crt1= if [ "$busybox" == "no" ] ; then crt1="${ldir}/crt1.o" fi ld_dyn="-Wl,-rpath,${uclibc}/lib,--dynamic-linker ${uclibc}/lib/ld-uClibc.so" ld_libs="-L${ldir} -lc -lgcc" fi ldopts="$ld_dyn $crt1 $ld_libs" fi incopts="-nostdinc -I${uclibc}/include -I$lnxinc -isystem $gccinc" libopts="-nostdlib -nodefaultlibs"
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.