% tar zvxf gcc-2.7.2.3.tar.gz % cd gcc-2.7.2.3 |
libgcc2.cの98行目に以下を追加
#define BITS_PER_UNIT 8
% ./configure --host=i386-intel-linux --build=i386-intel-linux \ --target=sslittle-na-sstrix --with-gnu-as --with-gnu-ld --prefix=/usr/local/sim/simplescalar-inst % make LANGUAGES="c c++" CFLAGS="-O3" CC="gcc" LIBGCC2_INCLUDES="-I/usr/include" |
エラーが出たら、insn-output.cの675、750、823行目の最後に"\
"を追加
return "FIXME\n\
% make LANGUAGES="c c++" CFLAGS="-O3" CC="gcc" LIBGCC2_INCLUDES="-I/usr/include" % make install LANGUAGES="c c++" CFLAGS="-O3" CC="gcc" LIBGCC2_INCLUDES="-I/usr/include" |