[m-rev.] for review: fix foreign_decls in the LLDS grades

Simon Taylor stayl at cs.mu.OZ.AU
Sat Aug 3 01:59:43 AEST 2002


On 02-Aug-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> This diff bootstraps in the asm_fast.gc grade, is this patch acceptable
> for everyone at the moment?

You should also make the C code for all modules depend on all the
header files in the current directory when `--intermodule-optimization'
is enabled.
 
> --- mercury/library/Mmakefile	29 Jul 2002 07:51:06 -0000	1.95
> +++ mercury/library/Mmakefile	2 Aug 2002 14:54:11 -0000
> @@ -239,9 +239,11 @@
>  # making tree234.$O first improves effective parallelism with parallel makes.
>  # `mmc --make' does not support parallel makes, so this dependency just
>  # slows things down.
> -ifeq ($(MMAKE_USE_MMC_MAKE),no)
> -lib_std: $(os_subdir)tree234.$O
> -endif
> +# XXX This is currently disabled because .mh files aren't built before
> +# the tree234.o
> +#ifeq ($(MMAKE_USE_MMC_MAKE),no)
> +#lib_std: $(os_subdir)tree234.$O
> +#endif
>  lib_std: lib$(STD_LIB_NAME)
>  
>  ifeq ($(MMAKE_USE_MMC_MAKE),no)

This change shouldn't be necessary with the change suggested above.

Simon.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list