GCC Cross-compiler on Debian based Linux

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.
Post Reply
DrHaximus
Posts: 11
Joined: Wed Mar 27, 2013 9:13 pm

GCC Cross-compiler on Debian based Linux

Post 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?
User avatar
xenos
Member
Member
Posts: 1121
Joined: Thu Aug 11, 2005 11:00 pm
Libera.chat IRC: xenos1984
Location: Tartu, Estonia
Contact:

Re: GCC Cross-compiler on Debian based Linux

Post by xenos »

What are the errors you get when configuring binutils? And which versions of binutils and GCC are you trying to compile?
Programmers' Hardware Database // GitHub user: xenos1984; OS project: NOS
User avatar
sortie
Member
Member
Posts: 931
Joined: Wed Mar 21, 2012 3:01 pm
Libera.chat IRC: sortie

Re: GCC Cross-compiler on Debian based Linux

Post 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.
Post Reply