LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   GCC question (https://www.linuxquestions.org/questions/linux-from-scratch-13/gcc-question-719918/)

ProtoformX 04-17-2009 02:42 PM

GCC question
 
After completing the book (6.4) is it possible to just compile the other languages rather then recompiling all of GCC?

I mean you only have C and C++ now that I am done the book can't I just untar the gcc tarball and only compile java or fortran without adding c or c++ since they are already installed?

dchmelik 04-18-2009 01:06 AM

What book? If you want to compile Fortran or Java with the GNU Compiler Collection, then just install the packages for those languages. Then if you want to use Java use 'gcj;' I do not know about Fortran yet.

knudfl 04-18-2009 03:57 AM

@dchmelik : This is the "Linux From Scratch" forum,
it's always about a certain book ( 6.4 ).

@ ProtoformX ... I don't think, it's a good idea,
I guess, the internal files, created with c are
needed, so minimum --enable-languages=c,fortran.
Suggest : repeat "6.14. GCC-4.3.2" with that.

Many applications need genuine 'sun-java', so 'gcj'
is not always useful, just 'getting in the way'.
.....


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