Re: [gentoo-dev] [RFC] toolchain-funcs.eclass: functions to call compiler

2010-06-16 Thread Jeroen Roovers
On Wed, 9 Jun 2010 01:41:00 -0400 Mike Frysinger vap...@gentoo.org wrote: there are implicit rules for generating archives, but iirc, they dont work in parallel. The buggy[1] implicit make rule generates parallel calls to ar(1) for each file to add, instead of doing the obvious and calling ar

Re: [gentoo-dev] [RFC] toolchain-funcs.eclass: functions to call compiler

2010-06-08 Thread Michał Górny
On Tue, 8 Jun 2010 18:44:55 -0400 Mike Frysinger vap...@gentoo.org wrote: On Sunday, June 06, 2010 03:45:51 Michał Górny wrote: Well, I've already covered one corner case myself, which is the zpaq ebuild. I would approve a comment on my idea here:

Re: [gentoo-dev] [RFC] toolchain-funcs.eclass: functions to call compiler

2010-06-08 Thread Mike Frysinger
On Wednesday, June 09, 2010 01:34:27 Michał Górny wrote: On Tue, 8 Jun 2010 18:44:55 -0400 Mike Frysinger wrote: On Sunday, June 06, 2010 03:45:51 Michał Górny wrote: i dont know anything about zpaq, but it looks like you're installing the bare .o files ? that's a bit odd. usually things

Re: [gentoo-dev] [RFC] toolchain-funcs.eclass: functions to call compiler

2010-06-06 Thread Michał Górny
On Sun, 6 Jun 2010 00:17:27 -0400 Mike Frysinger vap...@gentoo.org 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

Re: [gentoo-dev] [RFC] toolchain-funcs.eclass: functions to call compiler

2010-06-05 Thread Michał Górny
On Wed, 2 Jun 2010 17:56:38 -0400 Mike Frysinger vap...@gentoo.org wrote: On Wednesday, June 02, 2010 09:17:00 Michał Górny wrote: On Wed, 2 Jun 2010 03:16:12 -0400 Mike Frysinger wrote: use emake then and leverage make's implicit rules. The implicit make rules are less universal and

Re: [gentoo-dev] [RFC] toolchain-funcs.eclass: functions to call compiler

2010-06-05 Thread Mike Frysinger
On Saturday, June 05, 2010 09:16:29 Michał Górny wrote: On Wed, 2 Jun 2010 17:56:38 -0400 Mike Frysinger wrote: On Wednesday, June 02, 2010 09:17:00 Michał Górny wrote: On Wed, 2 Jun 2010 03:16:12 -0400 Mike Frysinger wrote: use emake then and leverage make's implicit rules. The

Re: [gentoo-dev] [RFC] toolchain-funcs.eclass: functions to call compiler

2010-06-02 Thread Mike Frysinger
On Monday, May 31, 2010 15:12:46 Michał Górny 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.

Re: [gentoo-dev] [RFC] toolchain-funcs.eclass: functions to call compiler

2010-06-02 Thread Michał Górny
On Wed, 2 Jun 2010 03:16:12 -0400 Mike Frysinger vap...@gentoo.org wrote: On Monday, May 31, 2010 15:12:46 Michał Górny 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

Re: [gentoo-dev] [RFC] toolchain-funcs.eclass: functions to call compiler

2010-06-02 Thread Mike Frysinger
On Wednesday, June 02, 2010 09:17:00 Michał Górny wrote: On Wed, 2 Jun 2010 03:16:12 -0400 Mike Frysinger wrote: On Monday, May 31, 2010 15:12:46 Michał Górny wrote: There are many simple applications which come without neither a sophisticated build system or even a tiny Makefile. In some

[gentoo-dev] [RFC] toolchain-funcs.eclass: functions to call compiler

2010-05-31 Thread Michał Górny
Hello, As suggested by j...@g.o in bug #321165, I would like to raise a proposal on extending toolchain-funcs.eclass with helper functions to compile applications directly. There are many simple applications which come without neither a sophisticated build system or even a tiny Makefile. In some