Can you tell me what you done in the past to better give you advice right now? What programming language did you learn on windows?
On Fri, Jun 4, 2010 at 4:20 PM, CHEN XUEQIN <che...@star-net.cn> wrote: > Hi jason: > > 于 2010年06月03日 14:11, jason duhamell 写道: > > just stick to ubuntu, it will save you a headache and if your computer >> is old and crappy try switching to lubuntu. I am from shenzhen if you >> need any help. >> >> svn co svn://svn.openwrt.org/openwrt/branches/backfire >> >> >> > > I checked out backfire from svn.openwrt.org and compile SDK. Then install > SDK in another linux box, compile hello world program like this: > > [code] > ./staging_dir/toolchain-powerpc_gcc-4.4.3_uClibc-0.9.30.1/usr/bin/powerpc-openwrt-linux-gcc > hello.c > [/code] > > It gave error like this: > /home/user/OpenWrt-SDK-ppc44x-for-Linux-x86_64-gcc-4.4.3_uClibc-0.9.30.1/staging_dir/toolchain-powerpc_gcc-4.4.3_uClibc-0.9.30.1/usr/bin/../lib/gcc/powerpc-openwrt-linux-uclibc/4.4.3/../../../../powerpc-openwrt-linux-uclibc/bin/ld: > cannot find -lgcc_s > > Then I added an --sysroot option, like this: > [code] > ./staging_dir/toolchain-powerpc_gcc-4.4.3_uClibc-0.9.30.1/usr/bin/powerpc-openwrt-linux-gcc > hello.c > --sysroot ./staging_dir/toolchain-powerpc_gcc-4.4.3_uClibc-0.9.30.1/ > [/code] > > compile ok. > > Yeah, at lease absoulte header path problem is gone. But link is still a > problem. > > Chen Xueqin > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel >
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel