Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
I followed this link http://wiki.osdev.org/GCC_Cross-Compiler to create cross compiler , downloaded following files gcc-4.8.2 , mpc-1.0 , isl-0.14 , mpfr -3.1.2 and gmp 6.0.0a and extracted to folder gccx .It works fine for
cd $HOME/src
mkdir build-binutils
cd build-binutils
../binutils-x.y.z/configure --target=$TARGET --prefix="$PREFIX" --with-sysroot --disable-nls --disable-werror
make
make install
I tried by downloading gcc-4.9.0 but it didn't work .
gcc and g++ are already installed version 4.8.2 , OS ubuntu 14.04 LTS.
How to resolve this error ?
Last edited by sonus on Fri Oct 31, 2014 12:46 am, edited 2 times in total.
EDIT: I just finished building the crosscompiler on a borrowed 14.04.1 Ubuntu LTS without problems.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Combuster wrote:EDIT: I just finished building the crosscompiler on a borrowed 14.04.1 Ubuntu LTS without problems.
I just did the same on my Ubuntu 14.04.1 Ubuntu LTS notebook - for i786-elf, x86_64-elf, mips-elf... and m68k-elf is compiling right now. I expect it to work for arm-eabi, powerpc-elf and my other build targets as well.
EDIT: I just finished building the crosscompiler on a borrowed 14.04.1 Ubuntu LTS without problems.
Ok let forget about typo error . Check pastebin file , there is an error . This error doesn't occur due to copy/paste there is something behind the error .
Combuster wrote:EDIT: I just finished building the crosscompiler on a borrowed 14.04.1 Ubuntu LTS without problems.
I just did the same on my Ubuntu 14.04.1 Ubuntu LTS notebook - for i786-elf, x86_64-elf, mips-elf... and m68k-elf is compiling right now. I expect it to work for arm-eabi, powerpc-elf and my other build targets as well.