Page 1 of 1

GCC Cross-compiler on Debian based Linux

Posted: Fri Apr 19, 2013 7:12 pm
by DrHaximus
Hi, I want to be able to use i586-elf-gcc and i586-elf-ld to follow the Barebones tutorial, although the repository link on the tutorial here..

http://wiki.osdev.org/GCC_Cross-Compile ... bian_Linux

is missing, and returns an error page.
I've tried this page...

http://wiki.osdev.org/GCC_Cross-Compiler

but binutils seems to return a few errors when configuring. No problems with permissions etc, just some files won't configure correctly.

Any ideas?

Re: GCC Cross-compiler on Debian based Linux

Posted: Fri Apr 19, 2013 10:59 pm
by xenos
What are the errors you get when configuring binutils? And which versions of binutils and GCC are you trying to compile?

Re: GCC Cross-compiler on Debian based Linux

Posted: Mon Apr 22, 2013 5:24 pm
by sortie
Hi, just build a cross-compiler yourself rather than relying on a prebuilt one. You are likely doing something wrong when building your cross-binutils, please post the actual compilation log as my psychic powers are in for a repair.