Skip to main content

Posts

Showing posts from June, 2009

arm-elf-gcc-4.3.3 install

1) mpfr / gmp のインストール http://www.gnu.org/software/gmp http://www.mpfr.org/ Fortran で使用するらしいが、インストールには必要. mac port でインストール 2) gcc-4.3.3 インストール http://sigma-project.net/archives/2009/04/newlibgcc.html http://www.mouiyada.jp/node/99 ftp://sources.redhat.com/pub/newlib/index.html gccでnewlibのコンパイルに必要な部分のコンパイル・インストール cd ../gcc-4.3.0 export PATH=/usr/local/gcc-arm-elf/bin:$PATH ln -s ../newlib-1.16.0/newlib . ln -s ../newlib-1.16.0/libgloss . ※gcc-4.3.0/gcc/config/arm/t-arm-elfの以下のコメントアウト(#~)をはずす MULTILIB_OPTIONS += mhard-float/msoft-float MULTILIB_DIRNAMES += fpu soft MULTILIB_EXCEPTIONS += *mthumb/*mhard-float* MULTILIB_OPTIONS += mno-thumb-interwork/mthumb-interwork MULTILIB_DIRNAMES += normal interwork mkdir build cd build ../configure --prefix=/usr/local/gcc-arm-elf --target=arm-elf --enable-interwork --enable-multilib --with-float=soft --enable-languages=c,c++ --with-newlib --with-gmp=/opt/local --with-mpfr=/opt/local make sudo make install make error h...