LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 04-05-2014, 01:29 PM   #1
dragonprasad
Member
 
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80
Blog Entries: 3

Rep: Reputation: Disabled
Compiling programs in LFS build


Hi Guys!

i was just building LFS 7.5 but suddenly had a thought that what all languages does we can compile in the basic LFS build,
which means just after building LFS 7.5 build.

What all language does it support for compiling programs?
 
Old 04-05-2014, 02:27 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Check the configure options in gcc ( this bit --enable-languages=... )
 
Old 04-05-2014, 03:20 PM   #3
dragonprasad
Member
 
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
ok, thanks for it....

but what should i do if i want to compile as many programming language on this.
eg Perl, python, java and all others which can be run through on linux terminal
 
Old 04-05-2014, 05:14 PM   #4
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
perl, python and java use their own way of compiling progs, perl is not compiled it is interpreted and can be run as a script, java and python are byte compiled, python and java needs to be inztalled see blsf
 
Old 04-05-2014, 05:28 PM   #5
dragonprasad
Member
 
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
i am seeing BLFS book but it is too big and huge....
i was trying some thing from here http://terokarvinen.com/programming_..._on_linux.html but faced a problem in using that app-get command.

for eg : i run this a command
root [ / ]# sudo apt-get install g++
sudo: apt-get: command not found
how can i make it fix and run it....

and thanks for the suggestion Keith Hedger
 
Old 04-05-2014, 05:56 PM   #6
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
apt is the debian package manager and doesn't work well on lfs it also installs precompiled software lfs and blsf go more for compiling from source, if youw have maneged to compile a basic sys.tem and made it bootable you should have no problems compiling stuff from blfs
 
Old 04-06-2014, 12:28 AM   #7
dragonprasad
Member
 
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
Keith Hedger, i have a done compiling of basic system, and i am able to boot into it and use it. i have started compiling stuff from BLFS but thought to use "apt" since it reduce all the time consuming steps to build any package. hope i can use it!
 
Old 04-06-2014, 05:13 AM   #8
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
apt is for debian and is closley bound to it there are a number of threads here about package managers and trying to get apt to work well with lfs is a major headache, not reccomended but the choice of course is yours
 
Old 04-06-2014, 05:31 AM   #9
dragonprasad
Member
 
Registered: Dec 2013
Location: INDIA
Distribution: Ubuntu, windows, Android
Posts: 80

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
if it can create a hell then i don't want to go near it since i just now came out of hell(starting Xservers) again i don't want to be in hell...
and thanks for your suggestion... i will search for package manager over here....
thanks
 
  


Reply

Tags
compile, lfs, lfspkg



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] The build is prepared but confused about the next steps to build the LFS system CBM200 Linux From Scratch 3 02-04-2014 10:47 AM
Best OS to build lfs capricus Linux From Scratch 5 06-28-2012 04:28 AM
error using lfs while compiling lfs book's 6.12 (gcc-4.1.2) section aditya_gpch Linux From Scratch 3 04-24-2008 04:23 PM
Will compiling LFS on an 64 bit distro build an 64 bit LFS? Vampirite Linux From Scratch 4 08-31-2007 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:40 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
Open Source Consulting | Domain Registration