Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <gentoo@××××××××××.pl>
Subject: Re: [gentoo-dev] [RFC] toolchain-funcs.eclass: functions to call compiler
Date: Wed, 02 Jun 2010 07:17:11
Message-Id: 201006020316.13155.vapier@gentoo.org
In Reply to: [gentoo-dev] [RFC] toolchain-funcs.eclass: functions to call compiler by "Michał Górny"
1 On Monday, May 31, 2010 15:12:46 Michał Górny wrote:
2 > There are many simple applications which come without neither a
3 > sophisticated build system or even a tiny Makefile. In some cases, such
4 > applications aren't even packages as tarball -- a single, compressed
5 > source file is published instead.
6 >
7 > In case of these applications, ebuilds inherit toolchain-funcs.eclass to
8 > retrieve compiler information (tc-getCC/tc-getCXX) and call compiler
9 > manually, passing appropriate flags.
10
11 use emake then and leverage make's implicit rules. sys-apps/unscd is a pretty
12 straight forward example.
13 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] [RFC] toolchain-funcs.eclass: functions to call compiler "Michał Górny" <gentoo@××××××××××.pl>