도와주세요!!
글 수 15,339
2005.12.12 11:29:48 (*.189.19.127)
6591
이상하네요;;;;
제 친구도 그렇고, 저도 그런데;;
왜 그러지 - -;
자료실 -> TOOL-CHAIN -> 페도라 코어 2, 코어 3 ARM GCC 3.3.4 - arm-toolchain-3.3.4.tar.gz
이 툴체인을 이용한건지요??
컴퓨터를 새로 깔아서 저거밖에 깔린게 없는데..;;
따로 깔아줘야 하는거라도 있는지요??
>int main()
>{
> printf("hellon");
> return 1;
>}
>
># arm-linux-gcc -msoft-float -o hello hello.c
>
>/usr/lib/gcc-lib/arm-linux/3.3.4/../../../../arm-linux/bin/ld: ERROR: /usr/lib/gcc-lib/arm-linux/3.3.4/crtend.o uses hardware FP, whereas hello uses software FPFile format not recognized: failed to merge target specific data of file /usr/lib/gcc-lib/arm-linux/3.3.4/crtend.o
>/usr/lib/gcc-lib/arm-linux/3.3.4/../../../../arm-linux/bin/ld: ERROR: /usr/lib/gcc-lib/arm-linux/3.3.4/../../../../arm-linux/lib/crtn.o uses hardware FP, whereas hello uses software FP
>File format not recognized: failed to merge target specific data of file /usr/lib/gcc-lib/arm-linux/3.3.4/../../../../arm-linux/lib/crtn.o
>collect2: ld returned 1 exit status
>
>
>
>
>
>
>
>소프트플로팅 연산으로 변경하면 저런 에러가 발생하네요 ㅜㅜ
>
>어떻게 해결해야하는지 아시는 분 있나요~
>
>
>
>
>
>참고로 그냥 gcc로 컴파일 하면 아주 잘 됩니다 ㅜㅜ
>
># gcc -msoft-float -o hello hello.c
># ls -al hello
>-rwxr-xr-x 1 root root 4735 12월 12 05:37 hello
>
>
>
>
>-------------------------------------------------------------------------------------------
>
>페도라 코어 2, 코어 3 ARM GCC 3.3.4
>-- Fedora Core 2 또는 Fedora Core 3
>-- linux-2.4.19
>-- GLIBC-2.3.1
>-- BINUTILS-2.14.90.0.6
>-- GCC-3.3.4
>
>
>흠...;;; 이곳의 툴체인으로 하니깐 에러뜨는데요..;;
>
>방금 임베디드 공모전에서 제공하는 툴체인으로 컴파일 하니깐 정상적으로 컴파일 되네요
>
>이지보드로 해야하는데..;;
>
>툴체인 다시 만들어야한다는 말인데요;;;
>
>어찌해야할지 모르겠네요 ㅜㅜ
제 친구도 그렇고, 저도 그런데;;
왜 그러지 - -;
자료실 -> TOOL-CHAIN -> 페도라 코어 2, 코어 3 ARM GCC 3.3.4 - arm-toolchain-3.3.4.tar.gz
이 툴체인을 이용한건지요??
컴퓨터를 새로 깔아서 저거밖에 깔린게 없는데..;;
따로 깔아줘야 하는거라도 있는지요??
>int main()
>{
> printf("hellon");
> return 1;
>}
>
># arm-linux-gcc -msoft-float -o hello hello.c
>
>/usr/lib/gcc-lib/arm-linux/3.3.4/../../../../arm-linux/bin/ld: ERROR: /usr/lib/gcc-lib/arm-linux/3.3.4/crtend.o uses hardware FP, whereas hello uses software FPFile format not recognized: failed to merge target specific data of file /usr/lib/gcc-lib/arm-linux/3.3.4/crtend.o
>/usr/lib/gcc-lib/arm-linux/3.3.4/../../../../arm-linux/bin/ld: ERROR: /usr/lib/gcc-lib/arm-linux/3.3.4/../../../../arm-linux/lib/crtn.o uses hardware FP, whereas hello uses software FP
>File format not recognized: failed to merge target specific data of file /usr/lib/gcc-lib/arm-linux/3.3.4/../../../../arm-linux/lib/crtn.o
>collect2: ld returned 1 exit status
>
>
>
>
>
>
>
>소프트플로팅 연산으로 변경하면 저런 에러가 발생하네요 ㅜㅜ
>
>어떻게 해결해야하는지 아시는 분 있나요~
>
>
>
>
>
>참고로 그냥 gcc로 컴파일 하면 아주 잘 됩니다 ㅜㅜ
>
># gcc -msoft-float -o hello hello.c
># ls -al hello
>-rwxr-xr-x 1 root root 4735 12월 12 05:37 hello
>
>
>
>
>-------------------------------------------------------------------------------------------
>
>페도라 코어 2, 코어 3 ARM GCC 3.3.4
>-- Fedora Core 2 또는 Fedora Core 3
>-- linux-2.4.19
>-- GLIBC-2.3.1
>-- BINUTILS-2.14.90.0.6
>-- GCC-3.3.4
>
>
>흠...;;; 이곳의 툴체인으로 하니깐 에러뜨는데요..;;
>
>방금 임베디드 공모전에서 제공하는 툴체인으로 컴파일 하니깐 정상적으로 컴파일 되네요
>
>이지보드로 해야하는데..;;
>
>툴체인 다시 만들어야한다는 말인데요;;;
>
>어찌해야할지 모르겠네요 ㅜㅜ