context team mailing list archive
-
context team
-
Mailing list archive
-
Message #00282
Re: 64-bit kfreebsd
On Friday 28 May 2010 16:04:53 Mojca Miklavec wrote:
> 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
I would think that
# kFreeBSD (Debian)
GNU/kFreeBSD)
case "$cpu" in
i*86) platform="kfreebsd-i386" ;;
x86_64) platform="kfreebsd-amd64" ;;
amd64) platform="kfreebsd-amd64" ;;
*) platform="unknown" ;;
esac ;;
would be correct.
(I do not know why, for "freebsd" x86_64 maps to "freebsd" and not "freebsd-
amd64")
There is some confusion. Does $cpu=amd64 exist? What about for linux?
As far as I know, 64 bit linux/freebsd/kfreebsd use the same distributions
("amd64") for both Intel and AMD processors.
Alan
Follow ups
References