ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: 64-bit kfreebsd
       [not found]   ` <201005290803.o4T83ZGu009056@oxalide.extra.cea.fr>
@ 2010-05-29 12:11     ` Alan BRASLAU
  2010-05-29 21:37       ` Martin Schröder
  2010-05-30  8:53       ` Michael Krauss
  0 siblings, 2 replies; 3+ messages in thread
From: Alan BRASLAU @ 2010-05-29 12:11 UTC (permalink / raw)
  To: Michael Krauss, Mojca Miklavec; +Cc: mailing list for ConTeXt users

On Saturday 29 May 2010 10:09:07 you wrote:
> On Fri, 28 May 2010 18:09:17 +0200 Mojca Miklavec wrote:
> > > (I do not know why, for "freebsd" x86_64 maps to "freebsd" and not
> > > "freebsd- amd64")
> 
> I am not sure what this discussion is about, I just got this part
> forwarded by Mojca. But if you talk about the case statement in
> first-setup.sh I don't know why there is a x86_64 branch for FreeBSD at
> all. On FreeBSD AMD64 you get:
> 
> [mickraus@gandalf ~]\$ uname -s
> FreeBSD
> [mickraus@gandalf ~]\$ uname -m
> amd64
> 
> This is on an E6300 Intel processor.

Yes, it can get confusing:

uname -s        uname -m        uname -p
----------------------------------------
Intel Q9400 (Core2 Quad):
FreeBSD         amd64           amd64
GNU/kFreeBSD    x86_64          amd64
Linux           x86_64          unknown
32bit os (same processor):
FreeBSD         ? (untested)    ?
GNU/kFreeBSD    i686            i386
GNU/Linux       i686            unknown
----------------------------------------
Intel pentium 4:
FreeBSD         ? (untested)    ?
GNU/kFreeBSD    i686            i386
GNU/Linux       i686            unknown
----------------------------------------


> > > As far as I know, 64 bit linux/freebsd/kfreebsd use the same
> > > distributions ("amd64") for both Intel and AMD processors.
> 
> Same for official FreeBSD AMD64. There is no special version of FreeBSD
> for 64bit x86 CPU from Intel. There is a IA64 version of FreeBSD that
> is often mistaken as built for those Intel AMD64 clones. But this
> version is actually build for the Itanium Architecture, descendant of
> PA-RISC. Summary: FreeBSD AMD64 is used for all 64bit x86 CPUs.

The official 64bit OS name is "amd64" for FreeBSD, GNU/kFreeBSD and Linux.
However, uname -m gives differing results and depends on the version of the 
running OS, not the real underlying processor; A 64bit processor can run a 
32bit OS.

Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 64-bit kfreebsd
  2010-05-29 12:11     ` 64-bit kfreebsd Alan BRASLAU
@ 2010-05-29 21:37       ` Martin Schröder
  2010-05-30  8:53       ` Michael Krauss
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Schröder @ 2010-05-29 21:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2010/5/29 Alan BRASLAU <alan.braslau@cea.fr>:
> The official 64bit OS name is "amd64" for FreeBSD, GNU/kFreeBSD and Linux.

The is no OS named Linux.

http://en.wikipedia.org/wiki/Amd64#Industry_naming_conventions

Best
   Martin
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 64-bit kfreebsd
  2010-05-29 12:11     ` 64-bit kfreebsd Alan BRASLAU
  2010-05-29 21:37       ` Martin Schröder
@ 2010-05-30  8:53       ` Michael Krauss
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Krauss @ 2010-05-30  8:53 UTC (permalink / raw)
  To: Alan BRASLAU; +Cc: mailing list for ConTeXt users, Mojca Miklavec

On Sat, 29 May 2010 14:11:44 +0200 Alan BRASLAU wrote:

> uname -s        uname -m        uname -p
> ----------------------------------------
> Intel Q9400 (Core2 Quad):
> FreeBSD         amd64           amd64
> GNU/kFreeBSD    x86_64          amd64
> Linux           x86_64          unknown
> 32bit os (same processor):
> FreeBSD         ? (untested)    ?
> GNU/kFreeBSD    i686            i386
> GNU/Linux       i686            unknown
> ----------------------------------------
> Intel pentium 4:
> FreeBSD         ? (untested)    ?
> GNU/kFreeBSD    i686            i386
> GNU/Linux       i686            unknown
> ----------------------------------------

I have collected data from two different machines with a FreeBSD 8.0
i386 LiveCD:

uname -s        uname -m        uname -p
----------------------------------------
Intel E6300 (Core2 Duo):
 FreeBSD         amd64           amd64
 32bit os (same processor):
 FreeBSD         i386 		 i386
----------------------------------------
Intel Pentium M:
 FreeBSD         i386 		 i386

> The official 64bit OS name is "amd64" for FreeBSD, GNU/kFreeBSD and
> Linux. However, uname -m gives differing results and depends on the
> version of the running OS, not the real underlying processor; A 64bit
> processor can run a 32bit OS.

So both (uname -m and uname -p) don't depend on the installed CPU just
on the version of FreeBSD. Probably the implementation of uname(3) is
different in FreeBSD libc und GNU libc. Unix is such a homogeneous
environment, isn't it ;-)


Kind regards,
Michael Krauss
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-30  8:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <AANLkTimzqONTFQj_Q3qSFz1aqtnYI5uMqdLdtSvAdzzw@mail.gmail.com>
     [not found] ` <AANLkTillA6ypgtyWrmanGCLN1LgIsXZYYjX2rYvbDotv@mail.gmail.com>
     [not found]   ` <201005290803.o4T83ZGu009056@oxalide.extra.cea.fr>
2010-05-29 12:11     ` 64-bit kfreebsd Alan BRASLAU
2010-05-29 21:37       ` Martin Schröder
2010-05-30  8:53       ` Michael Krauss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).