Hi everyone,
I'm building cross toolchain for arm on ubuntu 12.04 x86_64 without using nacl_sdk build for some change.
This arm-nacl cross toolchain should run on x86_64 platform and build code for arm.
I made some change as below, and here is the gcc compile error message on dbxout.c.
Did I miss anything to build this toolchain? Thanks!
native_client/tools/Makefile:
CROSSARCH = arm-nacl
BITSPLATFORM = 32
LIB_BITS ?= 32
Error Message:
/home/test/nacl/native_client/tools/SRC/gcc/gcc/dbxout.c: In function ‘dbxout_symbol_location’:
/home/test/nacl/native_client/tools/SRC/gcc/gcc/dbxout.c:2977:16: error: ‘TARGET_64BIT’ undeclared (first use in this function)
/home/test/nacl/native_client/tools/SRC/gcc/gcc/dbxout.c:2977:16: note: each undeclared identifier is reported only once for each function it appears in
/home/test/nacl/native_client/tools/SRC/gcc/gcc/dbxout.c:2977:16: error: ‘dbx64_register_map’ undeclared (first use in this function)
/home/test/nacl/native_client/tools/SRC/gcc/gcc/dbxout.c:2977:16: error: ‘svr4_dbx_register_map’ undeclared (first use in this function)