当前位置:   article > 正文

android external怎么模块编译,(转载)Android编译环境(2) - 手工编译C模块

编译 android external

# make

helloworld showcommands

build/core/product_config.mk:229: WARNING: adding test OTA

key

target

thumb C: helloworld <=

development/hello/hello.c

prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin/arm-eabi-gcc

-I system/core/include -I

hardware/libhardware/include -I

hardware/ril/include -I

dalvik/libnativehelper/include -I

frameworks/base/include -I

external/skia/include -I

out/target/product/generic/obj/include -I

bionic/libc/arch-arm/include -I

bionic/libc/include -I

bionic/libstdc++/include -I

bionic/libc/kernel/common -I

bionic/libc/kernel/arch-arm -I

bionic/libm/include -I

bionic/libm/include/arch/arm -I

bionic/libthread_db/include -I

development/hello -I

out/target/product/generic/obj/EXECUTABLES/helloworld_intermediates

-c -fno-exceptions

-Wno-multichar -march=armv5te -mtune=xscale -msoft-float -fpic

-mthumb-interwork -ffunction-sections -funwind-tables

-fstack-protector -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__

-D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -include

system/core/include/arch/linux-arm/AndroidConfig.h -DANDROID

-fmessage-length=0 -W -Wall -Wno-unused -DSK_RELEASE -DNDEBUG -O2

-g -Wstrict-aliasing=2 -finline-functions

-fno-inline-functions-called-once -fgcse-after-reload

-frerun-cse-after-loop -frename-registers -DNDEBUG -UDEBUG -mthumb

-Os -fomit-frame-pointer -fno-strict-aliasing

-finline-limit=64

-MD -o

out/target/product/generic/obj/EXECUTABLES/helloworld_intermediates/hello.o

development/hello/hello.c

target

Executable: helloworld

(out/target/product/generic/obj/EXECUTABLES/helloworld_intermediates/LINKED/helloworld)

prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin/arm-eabi-g++

-nostdlib -Bdynamic -Wl,-T,build/core/armelf.x

-Wl,-dynamic-linker,/system/bin/linker -Wl,--gc-sections

-Wl,-z,nocopyreloc -o

out/target/product/generic/obj/EXECUTABLES/helloworld_intermediates/LINKED/helloworld

-Lout/target/product/generic/obj/lib

-Wl,-rpath-link=out/target/product/generic/obj/lib -lc -lstdc++

-lm

out/target/product/generic/obj/lib/crtbegin_dynamic.o

out/target/product/generic/obj/EXECUTABLES/helloworld_intermediates/hello.o

-Wl,--no-undefined

prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin/../lib/gcc/arm-eabi/4.2.1/interwork/libgcc.a

out/target/product/generic/obj/lib/crtend_android.o

target

Non-prelinked: helloworld

(out/target/product/generic/symbols/system/bin/helloworld)

out/host/linux-x86/bin/acp -fpt

out/target/product/generic/obj/EXECUTABLES/helloworld_intermediates/LINKED/helloworld

out/target/product/generic/symbols/system/bin/helloworld

target

Strip: helloworld

(out/target/product/generic/obj/EXECUTABLES/helloworld_intermediates/helloworld)

out/host/linux-x86/bin/soslim --strip --shady --quiet

out/target/product/generic/symbols/system/bin/helloworld --outfile

out/target/product/generic/obj/EXECUTABLES/helloworld_intermediates/helloworld

Install:

out/target/product/generic/system/bin/helloworld

out/host/linux-x86/bin/acp -fpt

out/target/product/generic/obj/EXECUTABLES/helloworld_intermediates/helloworld

out/target/product/generic/system/bin/helloworld

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/不正经/article/detail/573128
推荐阅读
相关标签
  

闽ICP备14008679号