[m-dev.] Re: Bug#49160: Patch for Sparc compilation

Tyson Dowd trd at cs.mu.OZ.AU
Fri Nov 5 14:11:13 AEDT 1999


On 04-Nov-1999, Samuel Tardieu <sam at debian.org> wrote:
> Package: mercury
> Version: 0.8.1.rotd19991025-2
> Severity: important
> 
> Please apply the patch found below (and maybe forward it to the upstream
> maintainer), so that Mercury can be compiled for Sparc.
> 
> I will try to make a binary only NMU for Sparc, so that this initial binary
> package can be installed and used to recompile newer versions.


Thanks.  I will also get this forwarded even further upstream to the
boehm gc maintainer so that it can be incoporated into the boehm gc
(a modified version of which is used by Mercury).

Let me know if you need a hand getting it compiled.  I didn't have any
problems getting it installed on the alpha.

> --- boehm_gc/gcconfig.h.orig	Thu Nov  4 12:50:31 1999
> +++ boehm_gc/gcconfig.h	Thu Nov  4 12:51:11 1999
> @@ -53,6 +53,10 @@
>  #    define NETBSD
>  #    define mach_type_known
>  # endif
> +# if defined(LINUX) && defined(__sparc__)
> +#    define SPARC
> +#    define mach_type_known
> +# endif
>  # if defined(vax)
>  #    define VAX
>  #    ifdef ultrix
> 

-- 
       Tyson Dowd           # 
                            #  Surreal humour isn't eveyone's cup of fur.
     trd at cs.mu.oz.au        # 
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list