[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] A fix for parallel build (gmake -j)
From: |
Moritz Wilhelmy |
Subject: |
Re: [Chicken-users] A fix for parallel build (gmake -j) |
Date: |
Thu, 6 Oct 2011 14:43:27 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Oct 06, 2011 at 15:37:08 +0300, Vitaly Magerya wrote:
> --- rules.make.orig 2011-10-06 14:50:00.000000000 +0300
> +++ rules.make 2011-10-06 14:50:06.000000000 +0300
> @@ -242,7 +242,7 @@
>
> # import libraries and extensions
>
> -%.so: %.o
> +%.so: %.o $(PRIMARY_LIBCHICKEN)
> $(LINKER) $(LINKER_OPTIONS) $(LINKER_LINK_SHARED_DLOADABLE_OPTIONS) $^
> $(LINKER_OUTPUT_OPTION) $@ \
>
> $(LINKER_LIBRARY_PREFIX)$(PROGRAM_PREFIX)chicken$(PROGRAM_SUFFIX)$(LINKER_LIBRARY_SUFFIX)
> \
> $(LIBRARIES)
I'm not sure whether this is correct, as $^ will expand to all
dependencies, not just %.so. Since there is only one dependency other
than PRIMARY_LIBCHICKE, $< seems more appropriate, but I'm not really
very well-informed about the chicken build system and makefiles.
Best regards,
Moritz
- [Chicken-users] A fix for parallel build (gmake -j), Vitaly Magerya, 2011/10/06
- Re: [Chicken-users] A fix for parallel build (gmake -j),
Moritz Wilhelmy <=
- Re: [Chicken-users] A fix for parallel build (gmake -j), Mario Domenech Goulart, 2011/10/06
- Re: [Chicken-users] A fix for parallel build (gmake -j), Vitaly Magerya, 2011/10/06
- Re: [Chicken-users] A fix for parallel build (gmake -j), Vitaly Magerya, 2011/10/06
- Re: [Chicken-users] A fix for parallel build (gmake -j), Mario Domenech Goulart, 2011/10/06
- Re: [Chicken-users] A fix for parallel build (gmake -j), Alaric Snell-Pym, 2011/10/06
- Re: [Chicken-users] A fix for parallel build (gmake -j), Vitaly Magerya, 2011/10/08
- [Chicken-users] Testing on OS X PPC, Intel SMP - Re: A fix for parallel build (gmake -j), Toby Thain, 2011/10/11