cygwin(マイコンボード付属CD)+windows10(32bit)上で開発を行なおうとしていますが、GCCのところで
コンパイルが通らない状況です。
buildutillについては通ったのですあ、以下のメッセージをみて何かアドバイスあったらよろしくお願いいたします。
連休中に楽しもうとしてコツコツ購入をすすめていたのですが、完全にいきずまり困っております。
(MAKE="make"; srcdir=`cd ./fixinc && ${PWDCMD-pwd}` ; \
CC="gcc"; CFLAGS=" -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE"; LDFLAGS=""; \
WARN_CFLAGS="-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error"; LIBERTY=`${PWDCMD-pwd}`/"../libiberty/libiberty.a"; \
export MAKE srcdir CC CFLAGS LDFLAGS WARN_CFLAGS LIBERTY; \
cd ./fixinc && \
/bin/sh ${srcdir}/mkfixinc.sh i686-pc-cygwin h8300-unknown-elf)
constructing ../fixinc.sh for h8300-unknown-elf to run on i686-pc-cygwin
make TARGETS=oneprocess SHELL="/bin/sh" CC="gcc" CFLAGS=" -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE" LDFLAGS="" LIBERTY="/home/kazu/gcc-3.4.6/gcc/../libiberty/libiberty.a" install-bin
make[2]: Entering directory `/home/kazu/gcc-3.4.6/gcc/fixinc'
/bin/sh ./genfixes machname.h
No forbidden identifiers defined by this target
gcc -c -DIN_GCC -DHAVE_CONFIG_H -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -I. -I.. -I. -I./.. -I./../config -I./../../include fixincl.c
fixincl.c: In function `test_test':
fixincl.c:631: warning: `res' might be used uninitialized in this function
fixincl.c: In function `start_fixer':
fixincl.c:1023: warning: `pz_cmd_save' might be used uninitialized in this function
gcc -c -DIN_GCC -DHAVE_CONFIG_H -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -I. -I.. -I. -I./.. -I./../config -I./../../include fixtests.c
gcc -c -DIN_GCC -DHAVE_CONFIG_H -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -I. -I.. -I. -I./.. -I./../config -I./../../include fixfixes.c
gcc -c -DIN_GCC -DHAVE_CONFIG_H -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -I. -I.. -I. -I./.. -I./../config -I./../../include server.c
gcc -c -DIN_GCC -DHAVE_CONFIG_H -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -I. -I.. -I. -I./.. -I./../config -I./../../include procopen.c
gcc -c -DIN_GCC -DHAVE_CONFIG_H -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -I. -I.. -I. -I./.. -I./../config -I./../../include fixlib.c
gcc -DIN_GCC -DHAVE_CONFIG_H -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -I. -I.. -I. -I./.. -I./../config -I./../../include -o fixincl.exe fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o /home/kazu/gcc-3.4.6/gcc/../libiberty/libiberty.a
echo timestamp > full-stamp
./fixincl -v < /dev/null
'fixincl version 1.1'
chmod 755 ../fixinc.sh
make[2]: Leaving directory `/home/kazu/gcc-3.4.6/gcc/fixinc'
The directory that should contain system headers does not exist:
/usr/local/lib/gcc/h8300-elf/3.4.6/../../../../h8300-elf/sys-include
rm -rf include; mkdir include
chmod a+rx include
(TARGET_MACHINE='h8300-unknown-elf'; srcdir=`cd .; ${PWDCMD-pwd}`; \
SHELL='/bin/sh' ;\
export TARGET_MACHINE srcdir SHELL ; \
/bin/sh ./fixinc.sh `${PWDCMD-pwd}`/include /usr/local/lib/gcc/h8300-elf/3.4.6/../../../../h8300-elf/sys-include ; \
rm -f include/syslimits.h; \
if [ -f include/limits.h ]; then \
mv include/limits.h include/syslimits.h; \
else \
cp ./gsyslimits.h include/syslimits.h; \
fi; \
chmod a+r include/syslimits.h)
Fixing headers into /home/kazu/gcc-3.4.6/gcc/include for h8300-unknown-elf target
echo timestamp > stmp-fixinc
if [ -f /usr/local/lib/gcc/h8300-elf/3.4.6/../../../../h8300-elf/sys-include/limits.h ] ; then \
cat ./limitx.h ./glimits.h ./limity.h > tmp-xlimits.h; \
else \
cat ./glimits.h > tmp-xlimits.h; \
fi
mv tmp-xlimits.h xlimits.h
if [ -d include ] ; then true; else mkdir include; chmod a+rx include; fi
for file in .. ./ginclude/float.h ./ginclude/iso646.h ./ginclude/stdarg.h ./ginclude/stdbool.h ./ginclude/stddef.h ./ginclude/varargs.h ./unwind.h ; do \
if [ X$file != X.. ]; then \
realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
echo timestamp > include/$realfile; \
rm -f include/$realfile; \
cp $file include; \
chmod a+r include/$realfile; \
fi; \
done
rm -f include/limits.h
cp xlimits.h include/limits.h
chmod a+r include/limits.h
rm -f include/README
cp ./README-fixinc include/README
chmod a+r include/README
echo timestamp > stmp-int-hdrs
if [ -d "/usr/local/lib/gcc/h8300-elf/3.4.6/../../../../h8300-elf/sys-include" ]; \
then \
CC="/home/kazu/gcc-3.4.6/gcc/xgcc -B/home/kazu/gcc-3.4.6/gcc/ -B/usr/local/h8300-elf/bin/ -B/usr/local/h8300-elf/lib/ -isystem /usr/local/h8300-elf/include -isystem /usr/local/h8300-elf/sys-include -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -isystem include -isystem /usr/local/lib/gcc/h8300-elf/3.4.6/../../../../h8300-elf/sys-include"; \
export CC; \
/bin/sh ./scan-types.sh "." >tmp-deduced.h; \
mv tmp-deduced.h deduced.h; \
else \
echo timestamp > deduced.h; \
fi
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I. -I./. -I./../include gen-protos.c -o gen-protos.o
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I. -I./. -I./../include scan.c -o scan.o
gcc -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -o gen-protos.exe \
gen-protos.o scan.o ../libiberty/libiberty.a
sed -e s/TARGET_GETGROUPS_T/gid_t/ \
deduced.h ./sys-protos.h > tmp-fixtmp.c
mv tmp-fixtmp.c fixtmp.c
/home/kazu/gcc-3.4.6/gcc/xgcc -B/home/kazu/gcc-3.4.6/gcc/ -B/usr/local/h8300-elf/bin/ -B/usr/local/h8300-elf/lib/ -isystem /usr/local/h8300-elf/include -isystem /usr/local/h8300-elf/sys-include fixtmp.c -w -U__SIZE_TYPE__ -U__PTRDIFF_TYPE__ -U__WCHAR_TYPE__ -E \
| sed -e 's/ / /g' -e 's/ *(/ (/g' -e 's/ [ ]*/ /g' -e 's/( )/()/' \
| ./gen-protos >xsys-protos.hT
Funny input line: timestamp
gen-protos: 1346 entries 341 collisions
mv xsys-protos.hT xsys-protos.h
rm -rf fixtmp.c
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I. -I./. -I./../include fix-header.c -o fix-header.o
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I. -I./. -I./../include scan-decls.c -o scan-decls.o
gcc -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -o fix-header.exe fix-header.o \
c-incpath.o cppdefault.o scan-decls.o prefix.o scan.o libcpp.a ../libiberty/libiberty.a
if [ -f fixhdr.ready ] ; then \
true; \
else \
echo timestamp > fixhdr.ready; \
fi
if [ -f include/fixed ] ; then true; \
else \
: This line works around a 'make' bug in BSDI 1.1.; \
FIXPROTO_DEFINES=""; export FIXPROTO_DEFINES; \
mkinstalldirs="/bin/sh ./mkinstalldirs"; \
export mkinstalldirs; \
if [ -d "/usr/local/lib/gcc/h8300-elf/3.4.6/../../../../h8300-elf/sys-include" ]; then \
/bin/sh ./fixproto include include /usr/local/lib/gcc/h8300-elf/3.4.6/../../../../h8300-elf/sys-include; \
if [ $? -eq 0 ] ; then true ; else exit 1 ; fi ; \
else true; fi; \
echo timestamp > include/fixed; \
fi
echo timestamp > stmp-fixproto
objext='.o' \
LIB1ASMFUNCS='_cmpsi2 _ucmpsi2 _divhi3 _divsi3 _mulhi3 _mulsi3 _fixunssfsi_asm' \
LIB2FUNCS_ST='_eprintf __gcc_bcmp' \
LIBGCOV='_gcov _gcov_merge_add _gcov_merge_single _gcov_merge_delta' \
LIB2ADD='./config/h8300/clzhi2.c ./config/h8300/ctzhi2.c ./config/h8300/parityhi2.c ./config/h8300/popcounthi2.c ./config/h8300/fixunssfsi.c' \
LIB2ADD_ST='' \
LIB2ADD_SH='' \
LIB2ADDEH='./unwind-dw2.c ./unwind-dw2-fde.c ./unwind-sjlj.c ./gthr-gnat.c ./unwind-c.c' \
LIB2ADDEHSTATIC='./unwind-dw2.c ./unwind-dw2-fde.c ./unwind-sjlj.c ./gthr-gnat.c ./unwind-c.c' \
LIB2ADDEHSHARED='./unwind-dw2.c ./unwind-dw2-fde.c ./unwind-sjlj.c ./gthr-gnat.c ./unwind-c.c' \
LIB2ADDEHDEP='unwind.inc unwind-dw2-fde.h' \
LIBUNWIND='' \
LIBUNWINDDEP='' \
SHLIBUNWIND_LINK='' \
SHLIBUNWIND_INSTALL='' \
FPBIT='fp-bit.c' \
FPBIT_FUNCS='_pack_sf _unpack_sf _addsub_sf _mul_sf _div_sf _fpcmp_parts_sf _compare_sf _eq_sf _ne_sf _gt_sf _ge_sf _lt_sf _le_sf _unord_sf _si_to_sf _sf_to_si _negate_sf _make_sf _sf_to_df _sf_to_tf _thenan_sf _sf_to_usi _usi_to_sf' \
LIB2_DIVMOD_FUNCS='_divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv _udivmoddi4' \
DPBIT='' \
DPBIT_FUNCS='_pack_df _unpack_df _addsub_df _mul_df _div_df _fpcmp_parts_df _compare_df _eq_df _ne_df _gt_df _ge_df _lt_df _le_df _unord_df _si_to_df _df_to_si _negate_df _make_df _df_to_sf _df_to_tf _thenan_df _df_to_usi _usi_to_df' \
TPBIT='' \
TPBIT_FUNCS='_pack_tf _unpack_tf _addsub_tf _mul_tf _div_tf _fpcmp_parts_tf _compare_tf _eq_tf _ne_tf _gt_tf _ge_tf _lt_tf _le_tf _unord_tf _si_to_tf _tf_to_si _negate_tf _make_tf _tf_to_df _tf_to_sf _thenan_tf _tf_to_usi _usi_to_tf' \
MULTILIBS=`/home/kazu/gcc-3.4.6/gcc/xgcc -B/home/kazu/gcc-3.4.6/gcc/ -B/usr/local/h8300-elf/bin/ -B/usr/local/h8300-elf/lib/ -isystem /usr/local/h8300-elf/include -isystem /usr/local/h8300-elf/sys-include --print-multi-lib` \
EXTRA_MULTILIB_PARTS='crti.o crtn.o crtbegin.o crtend.o' \
SHLIB_LINK='' \
SHLIB_INSTALL='' \
SHLIB_EXT='' \
SHLIB_MULTILIB='' \
SHLIB_MKMAP='' \
SHLIB_MKMAP_OPTS='' \
SHLIB_MAPFILES='' \
SHLIB_NM_FLAGS='-pg' \
MULTILIB_OSDIRNAMES='' \
mkinstalldirs='/bin/sh ./mkinstalldirs' \
TARGET_CPU_DEFAULT="" \
HEADERS="ansidecl.h" DEFINES="" \
/bin/sh ./mkconfig.sh tconfig.h
make \
CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long " \
CONFIG_H="config.h auto-host.h ./../include/ansidecl.h ./config/i386/xm-cygwin.h" \
MAKEOVERRIDES= \
make[2]: Entering directory `/home/kazu/gcc-3.4.6/gcc'
for d in libgcc h8300h libgcc/h8300h h8300s libgcc/h8300s h8300h/normal libgcc/h8300h/normal h8300h/int32 libgcc/h8300h/int32 h8300h/normal/int32 libgcc/h8300h/normal/int32 h8300s/normal libgcc/h8300s/normal h8300s/int32 libgcc/h8300s/int32 h8300s/normal/int32 libgcc/h8300s/normal/int32; do \
if [ -d $d ]; then true; else /bin/sh ./mkinstalldirs $d; fi; \
done
mkdir -p -- libgcc
mkdir -p -- h8300h
mkdir -p -- libgcc/h8300h
mkdir -p -- h8300s
mkdir -p -- libgcc/h8300s
mkdir -p -- h8300h/normal
mkdir -p -- libgcc/h8300h/normal
mkdir -p -- h8300h/int32
mkdir -p -- libgcc/h8300h/int32
mkdir -p -- h8300h/normal/int32
mkdir -p -- libgcc/h8300h/normal/int32
mkdir -p -- h8300s/normal
mkdir -p -- libgcc/h8300s/normal
mkdir -p -- h8300s/int32
mkdir -p -- libgcc/h8300s/int32
mkdir -p -- h8300s/normal/int32
mkdir -p -- libgcc/h8300s/normal/int32
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/home/kazu/gcc-3.4.6/gcc/xgcc -B/home/kazu/gcc-3.4.6/gcc/ -B/usr/local/h8300-elf/bin/ -B/usr/local/h8300-elf/lib/ -isystem /usr/local/h8300-elf/include -isystem /usr/local/h8300-elf/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -DDF=SF -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I -I. -I./ -I./../include -DL_cmpsi2 -xassembler-with-cpp -c ./config/h8300/lib1funcs.asm -o libgcc/./_cmpsi2.o
/cygdrive/c/Users/kazu/AppData/Local/Temp/ccsN2nLs.s: Assembler messages:
/cygdrive/c/Users/kazu/AppData/Local/Temp/ccsN2nLs.s:6: Error: no such instruction: `libgcc routines for the Renesas H8/300 CPU.'
/cygdrive/c/Users/kazu/AppData/Local/Temp/ccsN2nLs.s:7: Error: no such instruction: `contributed by Steve Chamberlain<
s...@cygnus.com>'
/cygdrive/c/Users/kazu/AppData/Local/Temp/ccsN2nLs.s:8: Error: no such instruction: `optimizations by Toshiyasu Morita<
toshiyas...@renesas.com>'
/cygdrive/c/Users/kazu/AppData/Local/Temp/ccsN2nLs.s:14: Error: invalid character '.' in mnemonic
/cygdrive/c/Users/kazu/AppData/Local/Temp/ccsN2nLs.s:15: Error: no such instruction: `bne .L2'
/cygdrive/c/Users/kazu/AppData/Local/Temp/ccsN2nLs.s:16: Error: invalid character '.' in mnemonic
/cygdrive/c/Users/kazu/AppData/Local/Temp/ccsN2nLs.s:17: Error: no such instruction: `bne .L4'
/cygdrive/c/Users/kazu/AppData/Local/Temp/ccsN2nLs.s:18: Error: invalid character '.' in mnemonic
/cygdrive/c/Users/kazu/AppData/Local/Temp/ccsN2nLs.s:19: Error: no such instruction: `rts'
/cygdrive/c/Users/kazu/AppData/Local/Temp/ccsN2nLs.s:21: Error: no such instruction: `bgt .L5'
/cygdrive/c/Users/kazu/AppData/Local/Temp/ccsN2nLs.s:23: Error: invalid character '.' in mnemonic
/cygdrive/c/Users/kazu/AppData/Local/Temp/ccsN2nLs.s:24: Error: no such instruction: `rts'
/cygdrive/c/Users/kazu/AppData/Local/Temp/ccsN2nLs.s:26: Error: no such instruction: `bls .L3'
/cygdrive/c/Users/kazu/AppData/Local/Temp/ccsN2nLs.s:28: Error: invalid character '.' in mnemonic
/cygdrive/c/Users/kazu/AppData/Local/Temp/ccsN2nLs.s:29: Error: no such instruction: `rts'
make[2]: *** [libgcc/./_cmpsi2.o] Error 1
make[2]: Leaving directory `/home/kazu/gcc-3.4.6/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/home/kazu/gcc-3.4.6/gcc'
make: *** [all-gcc] Error 2