(toppers-users 4099) atk2-sc1がWindows8 64bitでmakeに失敗しました。

koizumi yoshiyuki koizumiyoshiyuki @ gmail.com
2013年 6月 20日 (木) 15:08:23 JST


 こいさんです。

atk2-sc1がWindows8 64bitでmakeが上手くいきません。
LaunchpadのGCCを使用しています。 gcc-arm-none-eabi-4_7-2013q1-20130313-win32.exe 尚、
CodeSourceryはインストールできなかったので断念しました。Launchpadでasp_stbee_gcc-20120310はmakeできています。Vista
32bitでatk2-sc1をmakeしてWindows8のSkyeyeで動作しています。

make dependのエラー情報

実行log---------------

C:\devel\TOPPERS\ATK2\atk2-sc1-1.0.1\atk2-sc1\OBJ>make depend

if ! [ -f Makefile.depend ]; then \

rm -f Os_Lcfg.timestamp Os_Lcfg.c Os_Lcfg.h Os_Cfg.h ; \

rm -f cfg1_out.c cfg1_out.o cfg1_out.exe cfg1_out.syms cfg1_out.srec; \

rm -f offset.h; \

fi

rm -f Makefile.depend

../cfg/cfg/cfg --pass 1 --kernel atk2_no_osap -I. -I../include -I../arch
-I.. -

I../target/at91skyeye_gcc -I../arch/arm_gcc/common -I../arch/gcc
--api-table ../

kernel/kernel_api.csv --cfg1-def-table ../kernel/kernel_def.csv
--cfg1-def-tab

le ../target/at91skyeye_gcc/target_def.csv --cfg1-def-table
../arch/arm_gcc/comm

on/core_def.csv sample1.cfg

arm-none-eabi-gcc -c -mcpu=arm7tdmi -mlittle-endian -g -Wall
-Wno-unused-label

-Wpointer-arith -O2 -I. -I../include -I../arch -I.. -I../target/at91skyeye_g

cc -I../arch/arm_gcc/common -I../arch/gcc -DALLFUNC -I../kernel cfg1_out.c

arm-none-eabi-gcc -mcpu=arm7tdmi -mlittle-endian -g -Wall -Wno-unused-label
-W

pointer-arith -O2 -I. -I../include -I../arch -I.. -I../target/at91skyeye_gcc

-I../arch/arm_gcc/common -I../arch/gcc -mcpu=arm7tdmi -N -mlittle-endian -T
.

./target/at91skyeye_gcc/at91skyeye.ld -o cfg1_out.exe \

cfg1_out.o

c:/program files (x86)/gnu tools arm embedded/4.7
2013q1/bin/../lib/gcc/arm-none

-eabi/4.7.3/../../../../arm-none-eabi/bin/ld.exe: cannot open linker script
file

arm-names.inc: No such file or directory

collect2.exe: error: ld returned 1 exit status

Makefile:335: recipe for target `Os_Lcfg.timestamp' failed

make: *** [Os_Lcfg.timestamp] Error 1



 C:\devel\TOPPERS\ATK2\atk2-sc1-1.0.1\atk2-sc1\OBJ>

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

*arm-names.inc**なしと叱られる。*

Vista 32bitマシンのC:\Program Files\CodeSourcery\Sourcery G++
Lite\arm-none-eabi\libから*arm-names.inc**を**OBJ**にコピーして再実行。*

実行log---------------

C:\devel\TOPPERS\ATK2\atk2-sc1-1.0.1\atk2-sc1\OBJ>make

arm-none-eabi-gcc -mcpu=arm7tdmi -mlittle-endian -g -Wall -Wno-unused-label
-W

pointer-arith -O2 -I. -I../include -I../arch -I.. -I../target/at91skyeye_gcc

-I../arch/arm_gcc/common -I../arch/gcc -mcpu=arm7tdmi -N -mlittle-endian -T
.

./target/at91skyeye_gcc/at91skyeye.ld -o cfg1_out.exe \

cfg1_out.o

c:/program files (x86)/gnu tools arm embedded/4.7
2013q1/bin/../lib/gcc/arm-none

-eabi/4.7.3/../../../../arm-none-eabi/lib/crt0.o: In function `start':

(.text+0x0): multiple definition of `start'

start.o:C:\devel\TOPPERS\ATK2\atk2-sc1-1.0.1\atk2-sc1\OBJ/../target/at91skyeye_g

cc/start.S:68: first defined here

c:/program files (x86)/gnu tools arm embedded/4.7
2013q1/bin/../lib/gcc/arm-none

-eabi/4.7.3/../../../../arm-none-eabi/bin/ld.exe: cannot find -lcs3

c:/program files (x86)/gnu tools arm embedded/4.7
2013q1/bin/../lib/gcc/arm-none

-eabi/4.7.3/../../../../arm-none-eabi/bin/ld.exe: cannot find -lcs3hosted

c:/program files (x86)/gnu tools arm embedded/4.7
2013q1/bin/../lib/gcc/arm-none

-eabi/4.7.3/../../../../arm-none-eabi/bin/ld.exe: cannot find -lcs3arm

collect2.exe: error: ld returned 1 exit status

Makefile:335: recipe for target `Os_Lcfg.timestamp' failed

make: *** [Os_Lcfg.timestamp] Error 1



 C:\devel\TOPPERS\ATK2\atk2-sc1-1.0.1\atk2-sc1\OBJ>

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

*今度はstart**が複数と叱られる*。crt0がリンクされている。at91skyeye.ldのSTARTUP(start.o)が効いていない?
何が起きているのかよくわかりません。

Windows8 64bitではARM GCCは何を使うのがよいでしょうか。

よろしくお願いします。


以上
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://www.toppers.jp/pipermail/users/attachments/20130620/720724c5/attachment.html>