← Back to team overview

context team mailing list archive

64-bit kfreebsd

 

On Fri, May 28, 2010 at 16:01, Mojca Miklavec wrote:
>> Tested on linux: OK (of course)
>> Tested on kfreebsd-i386: OK
>> However, kfreebsd-amd64 is not (yet) :)
>
>> Error: your system "GNU/kFreeBSD x86_64" is not supported yet.
>> Please report to the ConTeXt mailing-list (ntg-context@xxxxxx)
>
> At what point does that happen?

Oh, wait.

;  GNU/kFreeBSD)
;  ;  case "$cpu" in
;  ;  ;  i*86) platform="kfreebsd-i386" ;;
;  ;  ;  amd64) platform="kfreebsd-amd64" ;;
;  ;  ;  *) platform="unknown" ;;
;  ;  esac ;;

This means that we need to add x86_64 in addition to amd64 to
kfreebsd-amd64? What about in TeX Live? Did you ask for that/did you
test TL 2010?

It might be that Hans will have to patch mtxrun as well. Or well:

    function os.resolvers.platform(t,k)
        -- we sometims have HOSTTYPE set so let's check that first
        local platform, architecture = "", os.getenv("HOSTTYPE") or
os.resultof("uname -m") or ""
        if find(architecture,"x86_64") then
            platform = "kfreebsd-64"
        else
            platform = "kfreebsd-i386"
        end
        os.setenv("MTX_PLATFORM",platform)
        os.platform = platform
        return platform
    end

Here's the name "kfreebsd-64". What name exactly do you want to use
for minimals? We have linux-64 and osx-64, while there is
freebsd-amd64.

Mojca



Follow ups