From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OJiCN-0006k6-NI for garchives@archives.gentoo.org; Wed, 02 Jun 2010 07:17:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5462E0DF9; Wed, 2 Jun 2010 07:17:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E74B4E0AC7 for ; Wed, 2 Jun 2010 07:16:39 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 59BE364F9B; Wed, 2 Jun 2010 07:16:39 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [RFC] toolchain-funcs.eclass: functions to call compiler Date: Wed, 2 Jun 2010 03:16:12 -0400 User-Agent: KMail/1.13.1 (Linux/2.6.34; KDE/4.4.3; x86_64; ; ) Cc: =?utf-8?q?Micha=C5=82_G=C3=B3rny?= References: <20100531211246.64181dab@pomiocik.lan> In-Reply-To: <20100531211246.64181dab@pomiocik.lan> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5375751.V6rSYqsvdf"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201006020316.13155.vapier@gentoo.org> X-Archives-Salt: 2af5fc69-6611-4076-9d33-0316d8bfb7f8 X-Archives-Hash: bd32ce6f0778da720a1fea8ca2d23f98 --nextPart5375751.V6rSYqsvdf Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Monday, May 31, 2010 15:12:46 Micha=C5=82 G=C3=B3rny wrote: > There are many simple applications which come without neither a > sophisticated build system or even a tiny Makefile. In some cases, such > applications aren't even packages as tarball -- a single, compressed > source file is published instead. >=20 > In case of these applications, ebuilds inherit toolchain-funcs.eclass to > retrieve compiler information (tc-getCC/tc-getCXX) and call compiler > manually, passing appropriate flags. use emake then and leverage make's implicit rules. sys-apps/unscd is a pre= tty=20 straight forward example. =2Dmike --nextPart5375751.V6rSYqsvdf Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iQIcBAABAgAGBQJMBgU9AAoJEEFjO5/oN/WB+ysP/jKzBF9T7Ep+DC4cJAeC3dWU rMEJoYE+L/LwCJn6q47W12GwdBfaFFtImSne4ndF5Fpl3EjyauaofpKlFtOSK/+G 1lp0OgAuJY4bHKLB8nsH98982P5sa2H8TQcdTVqB5xCoy+ZjrS3uKT55KboO2iyk pBTrTiD1U6jniYEd9qjkugHN6VQ8lB8rzELWocp8KtQdc4bQoEdiW5XhAkYzcOWV nul0Zh/iFAMZ+EcFBO+4z4ucu3v62c0K6uiE0vho98Pvrkhh6xYb/ZeP/ww3mI3r vKt4+9LmlRQ6Csb2+hH+DNUJDumsaVFCt74BgSbQIeD5n9oW0h13jf6v1tHWFoUY H6IIeUTkNgTrMlkZG0xlN3QCnGBIvLCQGvky1j/elXtPcR0j1YuPRwKDC+f/6g/t +XAZ040e26hDJ1+lh8hngZUl8JfdNFgkr7qhNg+Mc8K9D4I5bC9hZXXQvSzLjBJ0 d49yTY8YRiCQQKkuPcN4+gBvoYT68O70GgzJV9vMCR3QLLDW2PDssrUUxFJ3/W9x nTZjr0oKvorg98vKQR4a0oB7sWnIBRoiC9suTrfftL8CjC4BY8vmQEtdp49O/ENP EnmjJ4espdPut1dnD4ORLD41OrIX4IO/4pX7DiVbSDCO48inPhwmP+Nb0mD0JN3x M4/BK+m49umM9wfhD8zA =GbFg -----END PGP SIGNATURE----- --nextPart5375751.V6rSYqsvdf--