e2fsprogs cross compile하기

Embeded : 2015. 9. 23. 15:23
반응형

export ARCH=arm

export PATH=$PATH:/home/lionelj/hoho/dev/arm-2014.05-29-arm-none-linux-gnueabi/bin

export CROSS_COMPILE=arm-none-linux-gnueabi-

CC=arm-none-linux-gnueabi-gcc

./configure --target=arm-none-linux-gnueabi --host=arm-none-linux-gnueabi --prefix=/home/lionelj/hoho/work/test/e2fsprogs/out --disable-defrag CFLAGS=-static LDFLAGS=-static

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

export ARCH=arm

export PATH=/home/lionelj/hoho/work/tcc/v13.05_r1-tcc-android-4.2.2/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/:$PATH

export CROSS_COMPILE=arm-eabi-

CC=arm-eabi-gcc

./configure --target=arm-eabi --host=arm-eabi --prefix=/home/lionelj/hoho/work/test/e2fsprogs/out LDFLAGS=-static --disable-defrag

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

export ARCH=arm

export PATH=$PATH:/home/lionelj/hoho/work/tcc/v13.05_r1-tcc-android-4.2.2/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin

export CROSS_COMPILE=arm-linux-androideabi-

CC=arm-linux-androideabi-gcc

./configure --target=arm-linux-androideabi --host=arm-linux-androideabi --prefix=/home/lionelj/hoho/work/test/e2fsprogs/out LDFLAGS=-static --disable-defrag


안드로이드 컴파일러로 해보려고 했는데 안된다.

앞에 none 이 없어서 그런가? configure 돌릴때 안됨. 젠장

반응형

'Embeded' 카테고리의 다른 글

build root slide (buildroot) | 빌드루트  (0) 2015.11.23
smc91x driver추가하기 ethernet driver  (0) 2015.08.20
Linux2.6.33 SPI Driver for Serial flash  (0) 2015.08.20
Posted by Real_G