LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-14-2009, 09:22 PM   #1
NEELIX_USR
LQ Newbie
 
Registered: Sep 2007
Location: Boston, MA
Distribution: Custom
Posts: 17

Rep: Reputation: 0
Unhappy Installing some compiling tools


I have a bare bones linux install (ttylinux). My questions is; how do I install a toolset so that I can compile from source onto my installation?

From what I understand, I need a compiler and a linker to be able to natively compile on my distro, but I have NO CLUE where to start. From what I've read, it's kind of like the old "chicken or the egg" questions.

How can I compile GCC from source when I don't have a compiler installed?

Thanks in advance for any help...
 
Old 01-15-2009, 05:22 AM   #2
greeneagle
Member
 
Registered: Dec 2004
Location: Dublin Ireland via Cobh, Limerick.
Distribution: RedHat, Suse, Ubuntu.
Posts: 33

Rep: Reputation: 16
I don't know ttylinux. I would guess that looking for packages specifically for ttylinux would be the best place to start.

You probably should be looking for binutils (linker + assembler) + gcc and make?

gcc at least needs some kind of c compiler and make to get started. Part of the a gcc build when starting with a native compiler is recompiling itself with the newly built gcc. And repeating that again. It's nice to experience that - but a bit of work You will need to read lots of manuals I think.

Have fun!

James.
 
Old 01-15-2009, 08:33 AM   #3
NEELIX_USR
LQ Newbie
 
Registered: Sep 2007
Location: Boston, MA
Distribution: Custom
Posts: 17

Original Poster
Rep: Reputation: 0
I have done a LFS build, so I am atleast a little familiar with installing BINUTILS, albeit that was in a controlled environment (followed the book) so I'll give that a shot.

Do you know if there's a way (simple enough) to run a LiveCD with a build environment installed, and then compile and install it to my TTYLinux install (similar to the way LFS does it?)
 
  


Reply

Tags
gcc


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Tools and Desktops on dsl anon081 DamnSmallLinux 5 05-20-2008 07:46 PM
Problem compiling multipath-tools bipins1979 Linux - Software 1 02-24-2006 05:48 PM
How do I install Compiling tools? SGFHK321 Linux - Newbie 7 07-10-2004 07:53 AM
compiling module-init-tools-0.9.14 Thames Mandriva 4 05-03-2004 07:58 PM
Having Trouble compiling mii-tools LinuxRacr Linux - Software 1 06-07-2002 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:09 PM.

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
Open Source Consulting | Domain Registration