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 m following the video indicated by osdev wiki(cross compiler page).
after installing cygwin and needed packages(GCC,G++..), i downloaded source of gcc-4.9.2 and binutils-2.25.
i make 'till command make but then when running make install i have some trouble:
I am not sure if I can help (pretty sure I am not very experienced either), but I am sure people will need an exact list of commands you ran during your build process to know what is wrong. And by that I mean copy and paste the output in the terminal window.
Also while having a look at the wiki I noticed someone else also had issues with binutils 2.25, creating a removed edit in the cross-compiler page advising others to not use that version as it seems to have building issues. Just wanted to point that out in case your process was correct and there is indeed issues with that version of binutils.
CookieOS. Want a cookie? Its only black and white for now though, probably as bad as my baking skills.
tar -xzf gcc-4.9.2.tar.gz
tar -xzf binutils-2.25.tar.gz
export PREFIX="$HOME/opt/cross"
export TARGET=i686-elf
export PATH="$PREFIX/bin:$PATH"
mkdir build-binutils
cd build-binutils
../binutils-2.25/configure --target=$TARGET --prefix=$PREFIX --with-sysroot --disable-nls --disable-werror
make
make install