![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
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@ntg.nl)
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
![](https://secure.gravatar.com/avatar/ac3fbaf0a287c4cffbc9f18fa931586c.jpg?s=120&d=mm&r=g)
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@ntg.nl)
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
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
(I do not know why, for "freebsd" x86_64 maps to "freebsd" and not "freebsd- amd64")
It could be that it's because nobody was compiling binaries on 64-bit at the beginning and they argued that 32-bit ones work on 64-bit platforms. But I might be wrong.
There is some confusion. Does $cpu=amd64 exist? What about for linux?
I don't know.
As far as I know, 64 bit linux/freebsd/kfreebsd use the same distributions ("amd64") for both Intel and AMD processors.
Mojca
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
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.
Please let me know if I have missed something (apart for the need to fix mtxrun). (but we need to fix the csh file one day as well) Mojca
participants (2)
-
Alan BRASLAU
-
Mojca Miklavec