Hello, I'd like to compile _only_ the languages I'll use, i.e., c and c++. I've never seen ada, f77, nor objc so building those compilers is a waste of time in my case. I'd like to see use flags for ada, f77, and objc. Thanks for reading, Norberto Reproducible: Always Steps to Reproduce: 1. 2. 3.
please keep a watch also on http://forums.gentoo.org/viewtopic.php?t=42821 , which was the thread that started it all regarding discussion on this. -konqueror
src_compile() { local myconf="" local gcc_lang="" if [ -z "`use build`" ] then myconf="${myconf} --enable-shared" gcc_lang="c,c++" [ -n "`use noada`" ] || gcc_lang="${gcc_lang},ada" [ -n "`use nof77`" ] || gcc_lang="${gcc_lang},f77" [ -n "`use noobjc`" ] || gcc_lang="${gcc_lang},objc" [ -n "`use java`" ] && gcc_lang="${gcc_lang},java" else gcc_lang="c" fi if [ -z "`use nls`" ] || [ "`use build`" ] then myconf="${myconf} --disable-nls" else myconf="${myconf} --enable-nls --without-included-gettext" fi The USE variable should disable the languages, in order to maintain compatibility.
I support the wish to remove support for Fortran77 and ObjC by a USE flag if they are not needed (ada seems to be gone anyway). I'd also like to see a spearate USE flag for gcj. Activating it through java seems strange since that's about hava a jdk or jre installed IMO. Gcj on the other hand is something that few people will have any use of so far, since it doesn't compile most programs yet.
*** Bug 23171 has been marked as a duplicate of this bug. ***
this can be found in latest masked gcc-3.3.3-r2