Closed GoogleCodeExporter closed 9 years ago
Any update on this?
I understand that we need to change the compiler and target setting in the
main.scons file.
I have added below lines
linux_common_env.Replace(CC = '/home/krishna/arm-2008q3/bin/arm-linux-gcc')
linux_common_env.Replace(CXX = '/home/xxx/arm-2008q3/bin/arm-linux-g++')
Where do I set the target platform as 'arm' instead of x86??
thanks
Original comment by krishna....@gmail.com
on 4 Jun 2011 at 7:19
Issue 171 has been merged into this issue.
Original comment by juberti@google.com
on 9 Sep 2011 at 7:40
Yes. you can setup the toolchain in main.scons
Something like:
SYSROOT=/build/arm-generic/
CPPPATH=/build/arm-generic/usr/include/
LIBPATH=/build/arm-generic/usr/lib/
PKG_CONFIG_PATH=/build/arm-generic/usr/lib/pkgconfig/
AR=armv7a-cros-linux-gnueabi-ar
AS=armv7a-cros-linux-gnueabi-as
LD=armv7a-cros-linux-gnueabi-ld
NM=armv7a-cros-linux-gnueabi-nm
RANLIB=armv7a-cros-linux-gnueabi-ranlib
CC=armv7a-cros-linux-gnueabi-gcc
CXX=armv7a-cros-linux-gnueabi-g++
CPPDEFINES = 'NACL_BUILD_ARCH=arm'
CCFLAGS = '-fPIC'
Original comment by zhur...@google.com
on 17 Nov 2011 at 1:09
Hi all.
I trying to build cross platform to arm. I edit following Zhur but i have error.
/home/minhle/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/../lib/g
cc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/bin/ld:
cannot find -lcrypto
I using sourcery codebench to compile cross to arm.
Anyone have solution for fix this.
Thank you.
Original comment by leminh...@gmail.com
on 5 Apr 2012 at 2:27
Hi leminh...
I get the same error;
Did you fix it?
Anyone have the solution?
Thanks for help。
Original comment by tstedzh...@gmail.com
on 31 May 2012 at 1:42
Original comment by juberti@google.com
on 31 May 2013 at 8:42
Original issue reported on code.google.com by
krishna....@gmail.com
on 3 Jun 2011 at 7:49