Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76107 - xmingw should respect USE=nocxx
Summary: xmingw should respect USE=nocxx
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-29 19:18 UTC by SpanKY
Modified: 2005-05-27 10:38 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2004-12-29 19:18:46 UTC
we've added USE=nocxx to the gcc ebuilds so users can build a gcc w/out C++ support

would be nice if xmingw would do the same :)

-    lang=c,c++
+    lang=c
+    use nocxx || lang=${lang},c++

and then add to DEPEND:
!nocxx? ( dev-util/xmingw-runtime dev-util/xmingw-w32api )
Comment 1 Stefan Jones (RETIRED) gentoo-dev 2005-01-31 10:31:52 UTC
The nocxx part is a good addition but the DEPEND line is bad I think.

As it would make a circuilar dependency, you need a mingw-gcc compiler to build dev-util/xmingw-runtime object files. But you need these to make the mingw-g++ compiler.

So the user would have to first emerge xmingw-gcc with the nocxx use flag, which is a bit much for the average, just want it working out of a box user!

( should add comment in xmingw-ebuild one day though or write some docs! )
Comment 2 SpanKY gentoo-dev 2005-01-31 11:09:03 UTC
hmm, true enough ...

as long as the lang part makes it in i'll be happy ;)
Comment 3 Stefan Jones (RETIRED) gentoo-dev 2005-05-27 10:38:48 UTC
Done