도와주세요!!
글 수 15,339
pxa270을 windows에서 사용하려고 합니다.
windows에서 사용할 수 있는 toolchain은 없나요?
gnuarm을 설치해서 compile하니까 link에서 error가 나네요
/cygdrive/c/srsnTools/GNUARM/bin/../lib/gcc/arm-elf/4.1.1/../../../../arm-elf/bi
n/ld: ERROR: /cygdrive/c/srsnTools/GNUARM/bin/../lib/gcc/arm-elf/4.1.1/libgcc.a(
_dvmd_tls.o) uses FPA instructions, whereas boot.elf32 does not
/cygdrive/c/srsnTools/GNUARM/bin/../lib/gcc/arm-elf/4.1.1/../../../../arm-elf/bi
n/ld: failed to merge target specific data of file /cygdrive/c/srsnTools/GNUARM/
bin/../lib/gcc/arm-elf/4.1.1/libgcc.a(_dvmd_tls.o)
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make: *** [all] Error 2
컴파일 옵션은
-Wall -O2 -nostdinc -fomit-frame-pointer -fPIC -fno-strict-aliasing -mstructure-size-boundary=8 -mcpu=iwmmxt -march=iwmmxt -mabi=iwmmxt -msoft-float
링커 옵션은
-static -nostdlib -T boot.lds -o $(binfile).elf32 $(objfiles) $(libgcc)
입니다.
FPA문제라는데 어떻게 해야되는지 모르겠네요.
windows에서 사용할 수 있는 toolchain은 없나요?
gnuarm을 설치해서 compile하니까 link에서 error가 나네요
/cygdrive/c/srsnTools/GNUARM/bin/../lib/gcc/arm-elf/4.1.1/../../../../arm-elf/bi
n/ld: ERROR: /cygdrive/c/srsnTools/GNUARM/bin/../lib/gcc/arm-elf/4.1.1/libgcc.a(
_dvmd_tls.o) uses FPA instructions, whereas boot.elf32 does not
/cygdrive/c/srsnTools/GNUARM/bin/../lib/gcc/arm-elf/4.1.1/../../../../arm-elf/bi
n/ld: failed to merge target specific data of file /cygdrive/c/srsnTools/GNUARM/
bin/../lib/gcc/arm-elf/4.1.1/libgcc.a(_dvmd_tls.o)
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make: *** [all] Error 2
컴파일 옵션은
-Wall -O2 -nostdinc -fomit-frame-pointer -fPIC -fno-strict-aliasing -mstructure-size-boundary=8 -mcpu=iwmmxt -march=iwmmxt -mabi=iwmmxt -msoft-float
링커 옵션은
-static -nostdlib -T boot.lds -o $(binfile).elf32 $(objfiles) $(libgcc)
입니다.
FPA문제라는데 어떻게 해야되는지 모르겠네요.
gnuarm에서
-msoft-float -mfpu=fpa
를 추가해주면 되네요