Hello
I downloaded kamikaze_8.09.2_source.tar.bz2 from openwrg.org
and build a SDK for ppc44x. Then I copied the SDK to other linux
box, compiled hello world program. Gcc compiler search the standard
header in the wrong path, using the absolute path of the host where SDK
built. I ever asked this absolute path problem in this list but found
no answer.
Some friends point out it's about problem of relocatable gcc. After
googling, I get two gcc compiling option --with-sysroot and
--with-build-sysroot.
I had tried to modify openwrt gcc Makefile, add --with-build-sysroot but
compile failed.
I download OpenWrt-SDK-ppc44x-for-Linux-x86_64.tar.bz2 from openwrg.org
site , compile hello world program, no absolute path problem. I'm puzzled.
I just wonder how the openwrt team build their pre-compiled SDK? Any
special modification in makefile is needed? Anyone knows?
Thanks for your advice.
Regards,
Chen Xueqin
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel