LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Compiling programs in LFS build (https://www.linuxquestions.org/questions/linux-from-scratch-13/compiling-programs-in-lfs-build-4175500690/)

dragonprasad 04-05-2014 01:29 PM

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?

Keith Hedger 04-05-2014 02:27 PM

Check the configure options in gcc ( this bit --enable-languages=... )

dragonprasad 04-05-2014 03:20 PM

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

Keith Hedger 04-05-2014 05:14 PM

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

dragonprasad 04-05-2014 05:28 PM

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

Keith Hedger 04-05-2014 05:56 PM

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

dragonprasad 04-06-2014 12:28 AM

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!

Keith Hedger 04-06-2014 05:13 AM

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

dragonprasad 04-06-2014 05:31 AM

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


All times are GMT -5. The time now is 03:59 PM.