Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23171 - change gcc ebuild to allow 'use' for f77, ada,objc,java
Summary: change gcc ebuild to allow 'use' for f77, ada,objc,java
Status: RESOLVED DUPLICATE of bug 18052
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 18933
Blocks:
  Show dependency tree
 
Reported: 2003-06-20 07:24 UTC by Kurt Hindenburg
Modified: 2015-05-21 08:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to add IUSE f77 and objc (gcc-3.3.3-r2.ebuild.patch,791 bytes, patch)
2004-04-19 23:09 UTC, Kurt Hindenburg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Hindenburg 2003-06-20 07:24:54 UTC
This was mentioned on the mailing list....change the gcc.build :

-    gcc_lang="c,c++,ada,f77,objc"
+    gcc_lang="c,c++"

+    [ -n "`use ada`" ]  && gcc_lang="${gcc_lang},ada"
+    [ -n "`use f77`" ]  && gcc_lang="${gcc_lang},f77"
+    [ -n "`use objc`" ] && gcc_lang="${gcc_lang},objc"
+    [ -n "`use java`" ] && gcc_lang="${gcc_lang},java"

Perhaps add an ewarn about setting of these variable would be helpful.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2003-07-15 20:27:03 UTC
Java's already a USE, btw.

 emerge -vp gcc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R  ] sys-devel/gcc-3.2.3-r1  +static -nls -bootstrap +java -build

From what I've heard, f77 build time is negligible. I don't know about the others.
Comment 2 Joshua Kinard gentoo-dev 2003-10-01 22:57:33 UTC
Azarah: Any input on this bug, think it's worth using some use flags to cut
down on gcc compile time by not compiling certain languages?

Anyone else on gcc-porting got any input to add as well?
Comment 3 Alexander Gabert (RETIRED) gentoo-dev 2004-03-05 02:45:56 UTC
hi

what is the current status here?

thanks

Alex
Comment 4 solar (RETIRED) gentoo-dev 2004-04-19 09:46:41 UTC
Kurt,

Can you take a look at the gcc-3.3.3-r2 add in your 
changes (test emerge -e system) then attach a patch when ready?
Comment 5 Kurt Hindenburg 2004-04-19 23:09:14 UTC
Created attachment 29675 [details, diff]
Patch to add IUSE f77 and objc

Fairly simple patch.  

I did not really understand what 'emerge -ep system' is suppose to test...

I can't really test the compilation... downloading 23MBs on 28.8k dialup is
harsh.
Comment 6 solar (RETIRED) gentoo-dev 2004-04-20 15:45:38 UTC
Added to portage 3.3.3-r2. Please test.
Comment 7 solar (RETIRED) gentoo-dev 2004-04-20 15:57:36 UTC
Note: 

The gcc-3.3.3-r2 is currently package.masked In order to begin testing.

mkdir -p /etc/portage/
echo =sys-devel/gcc-3.3.3-r2 >> /etc/portage/package.unmask
ACCEPT_KEYWORDS="~x86" emerge -e system
Comment 8 solar (RETIRED) gentoo-dev 2004-04-22 08:55:14 UTC
gcc_lang= ada just got added in.
Comment 9 SpanKY gentoo-dev 2004-04-25 13:21:47 UTC
ada has been removed because there is a sep ebuild for it

*** This bug has been marked as a duplicate of 18052 ***
Comment 10 Patrick Kursawe (RETIRED) gentoo-dev 2004-05-11 00:17:29 UTC
Since you seem to think the f77 USE flag is a good idea - any idea how to modify ebuilds that rely on having a fortran compiler?
Comment 11 Andreas Plesch 2004-07-12 15:34:01 UTC
such as ebuilds like the one for R. R broke after updating gcc and
it took me some time to figure out that this was the reason ...