Hi All,
        Actually I am doing cross compilation by using ppc64 bit toolchain,
For that purpose I changed following file .
TARGET_ARCH,TARGET_OS, in android/build/core/envsetup.mk
Then I hard coded build path ABP to bin of toolchain.
Then I changed build/core/combo/select.mk
I hard coded value of this.
combo_os_arch := $($(combo_target)OS)-$($(combo_target)ARCH)
and also included one makefile by the name ppc-os.mk
in which I declared global variables like.
$(combo_target)CC := /…/…../gcc
$(combo_target)CXX := /…/…../g++
$(combo_target)AR := /…/…../ar
$(combo_target)LD := /…/…../ld
$(combo_target)OBJCOPY := /…/…../objcopy.
And I started building.i know that it will not build ,but I wanted to
start initial build and observe errors.
But it is giving me errors at compiling first c file which is there
Build/tools/acp/acp.c………..because it is changing host compiler .i
don’t want to change it ,wherever it is using arm or thumb compilers
there I need to specify my compilers.so can anybody have an idea that
how can I change target compilers without touching HOST_CC,HOST_CXX.?
Regards,
DJ.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to