SDK可能无法使用.
你需要svn co.
自己生成 工具链.
然后编译 你的 hello.

可以尝试下看看.

你碰到的问题我也没找到解决办法.

2010/6/3 CHEN XUEQIN <[email protected]>

> 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
>
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to