[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#574717: mingw32-ocaml: Supported arches



Package: mingw32-ocaml
Version: 3.11.2+debian4

Hi,

It seems you currently restrict the arch list to:
i386 amd64 kfreebsd-amd64 kfreebsd-i386

Is there a reason for this?  Both mingw32 and ocaml seem to be
supported on all arches (except for mingw32 on hurd-i386).

I also don't get why you need to build-depend on gcc-multilib.
You have this in your rules file:
        # Note that we must build a 32 bit compiler, even on 64 bit build
        # architectures, because this compiler will try to do strength
        # reduction optimizations using its internal int type, and that must
        # match Windows' int type.  (That's what -cc and -host are for).

But the size of an int doesn't change for 32 and 64 targets.  Only the size
of a long and a pointer do.

The description even says:
 This compiler runs quickly,
 generates compact code with moderate memory requirements, and is
 portable to essentially any 32 or 64 bit Unix platform.

I currently see no reason not to set the arch list to any.


Kurt




Reply to: