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 1OLAZ1-0006Dq-FO for garchives@archives.gentoo.org; Sun, 06 Jun 2010 07:46:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9CD14E09FD; Sun, 6 Jun 2010 07:46:33 +0000 (UTC) Received: from mail-ew0-f227.google.com (mail-ew0-f227.google.com [209.85.219.227]) by pigeon.gentoo.org (Postfix) with ESMTP id A6E5AE09BD for ; Sun, 6 Jun 2010 07:46:27 +0000 (UTC) Received: by ewy27 with SMTP id 27so619057ewy.10 for ; Sun, 06 Jun 2010 00:46:27 -0700 (PDT) Received: by 10.213.8.134 with SMTP id h6mr2851774ebh.83.1275810386812; Sun, 06 Jun 2010 00:46:26 -0700 (PDT) Received: from pomiocik.lan (77-254-93-103.adsl.inetia.pl [77.254.93.103]) by mx.google.com with ESMTPS id 14sm1838858ewy.10.2010.06.06.00.46.25 (version=SSLv3 cipher=RC4-MD5); Sun, 06 Jun 2010 00:46:26 -0700 (PDT) Sender: Spam Box Date: Sun, 6 Jun 2010 09:45:51 +0200 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [RFC] toolchain-funcs.eclass: functions to call compiler Message-ID: <20100606094551.3ceca0bc@pomiocik.lan> In-Reply-To: <201006060017.27856.vapier@gentoo.org> References: <20100531211246.64181dab@pomiocik.lan> <201006021756.39934.vapier@gentoo.org> <20100605151629.231ce8bc@pomiocik.lan> <201006060017.27856.vapier@gentoo.org> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.20.1; x86_64-pc-linux-gnu) 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; micalg=PGP-SHA1; boundary="Sig_/qnh4b70yU=.PPX77h3Yu+EK"; protocol="application/pgp-signature" X-Archives-Salt: 74e47b6e-2df0-474b-b7df-8e799348678a X-Archives-Hash: 7b297e270bd958329b53a76e36b00564 --Sig_/qnh4b70yU=.PPX77h3Yu+EK Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 6 Jun 2010 00:17:27 -0400 Mike Frysinger wrote: > i'm not saying `emake` covers all solutions you proposed, just that > the base usage isnt nearly as bleak. there are some cases where > having a wrapper around emake would be useful (such as compiling > multiple files or linking things in). so if you wanted to slap > something together, we can look at it further. Well, I've already covered one corner case myself, which is the zpaq ebuild. I would approve a comment on my idea here: http://overlays.gentoo.org/proj/sunrise/changeset/10641/sunrise/app-arch/zp= aq/zpaq-1.10.ebuild The hard part was that zpaq.cpp had to be compiled to both the execu- table and the stub object file (with additional -DOPT flag). I've decided that the simplest and most fail-proof idea was to create an additional source file, defining 'OPT' and including the real code, and compiling all of that within a single 'emake' call. --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/qnh4b70yU=.PPX77h3Yu+EK Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEARECAAYFAkwLUjMACgkQnGSe5QXeB7vn8ACg3CpNEppH+QvzgIT2bOu0aIeB q2IAoI+mglKdFWTq8z6lJoczjaT86N5L =wvxv -----END PGP SIGNATURE----- --Sig_/qnh4b70yU=.PPX77h3Yu+EK--