Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321165 - use emake to to compile single executables
Summary: use emake to to compile single executables
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High QA
Assignee: Gentoo Quality Assurance Team
URL: http://archives.gentoo.org/gentoo-dev...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-23 12:03 UTC by Michał Górny
Modified: 2010-06-10 05:44 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-05-23 12:03:53 UTC
There are some packages which lack an upstream build system or the build system is unusable, thus ebuilds call the compiler directly in src_compile(). They use tc-get* from toolchain-funcs to get compiler name, and call it passing more or less appropriate flags in more or less appropriate order.

I think it would be useful though to define a common functions to call the compiler from within ebuilds to avoid the differences in accepted make.conf *FLAGS, flag passing order and overall syntax. The toolchain-funcs eclass seems the most appropriate one for that.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-05-31 01:50:50 UTC
Please reopen this bug report after:

1) adding examples of ebuilds that do this "manually".
2) providing an eclass patch that the ebuilds should call.
3) generating some discussion on the gentoo-dev@ mailing list about your eclass
   patch.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-06-04 07:21:34 UTC
The discussion has taken place and I've decided to withdraw my ideas in favor of using 'emake'. This bug and the list I stated [1] might be used however to transform existing CC-callers to 'emake' solution.

[1] http://archives.gentoo.org/gentoo-dev/msg_3d5d6138926c7611c59c77c8a10d0d26.xml
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-06-10 05:11:16 UTC
Here come the ninjas.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-06-10 05:12:47 UTC
Oh, no ninjas needed....