LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-26-2013, 08:57 PM   #1
ProfWho
LQ Newbie
 
Registered: Jul 2013
Posts: 5

Rep: Reputation: Disabled
building a cross compiler / toolchain for ARM11 on linux from scratch


Hey Everybody,

for about a week now have been trying to build my own cross compiler / toolchain for ARM11 on my laptop.
Unfortunatly unsuccesfull. Have tried several ways, from several sources (websites) Had to reinstall my laptop of all the mess that was created.
So, am in need of some assistance.
the following is the list of programs needed for this project.
Busybox, Cairo, Expat, Freetype, libjpeg, libiconv, libpng, linux-kernel, m-tools, newlib, u-boot, zlib.

Anyone guidance here is more then welcome.
kind regards,
ProfWho
 
Old 09-27-2013, 03:07 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 8,501

Rep: Reputation: 2431Reputation: 2431Reputation: 2431Reputation: 2431Reputation: 2431Reputation: 2431Reputation: 2431Reputation: 2431Reputation: 2431Reputation: 2431Reputation: 2431
would be nice to be more explicit: what have you done, what kind of error messages you got ...
Probably you need to start over again.
The first step: what distro you have, what have you downloaded (packages, versions)? You must not use root to build cross compiler.
I hope you have found this page already: http://gcc.gnu.org/install/prerequisites.html
 
1 members found this post helpful.
Old 09-27-2013, 03:19 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,780

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
Two things.

elinux.org has arm compilers and probably some guidance. And this site
http://chitlesh.fedorapeople.org/FEL/list.html

Has a list of software on the fedora electronic spin which does have arm (cross)compilers installed.
 
1 members found this post helpful.
Old 09-27-2013, 11:08 PM   #4
ProfWho
LQ Newbie
 
Registered: Jul 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hey,

am currently trying out the info from this website.
http://linuxthesaurus.wordpress.com/...s-compilation/
have tried some others, but like said before, ended up reinstalling my laptop with kali linux.
offcourse have found and read http://gcc.gnu.org/install/prerequisites.html
my knowledge may be limited, but please consider me far from stupid.
have downloaded the latest version of all the prerequisits.
the last/newest error that gcc gave me while compiling was arm-unknown-linux not supported.
so need to reread and re-research everything again.
have tried decyphering the config.sub and configure files.
hard thing ...
very different then decyphering javascript...

As for our friend business kid,
is refering to a website, althou interesting website, in any way a own build cross compiler/toolchain?
but thanks anyway, didn't know the website existed...
 
Old 09-28-2013, 05:19 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,780

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
It seems to be there, made for you. If you want to make it yourself, I understand. Have fum!
 
  


Reply

Tags
arm, cross-compile, crosstools, linux, scratch


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Building a cross-compiler for windows on linux Refractor Programming 4 01-21-2012 07:28 AM
Final Phase GCC build fails for ARM cross compiler toolchain bencpeters Linux - Embedded & Single-board computer 1 11-13-2011 06:23 PM
How to build Cross Compiler Toolchain on Fedora for other Linux distributions? drroot Programming 8 04-25-2011 05:35 PM
Building cross-compiler gcc for powerpc-linux ccool Linux - General 3 09-17-2004 07:33 AM
Building cross-compiling toolchain radhapriya Linux - Software 1 06-25-2004 01:01 AM


All times are GMT -5. The time now is 04:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration