Ralf S. Engelschall wrote:
My bad, it was a tab character rather than spaces:
Ah, a tab! This explains why even the old version failed. Ok, please
once again and hopefully the last time I have to bother you with this
nasty detection. Please retry with the appended version.
Numbers works OK, still not sure about the truncation:
concise architecture class: PPC
regular architecture class: PPC
verbose architecture class: PPC
concise architecture product: PPC
regular architecture product: PPC
verbose architecture product: PPC
concise architecture technology: PPC
regular architecture technology: PPC
verbose architecture technology: PPC
concise system class: 4.4BSD/Mach3.0
regular system class: 4.4BSD/Mach3.0
verbose system class: 4.4BSD/Mach3.0
concise system product: Mac OS X 10.3.9
regular system product: Mac OS X 10.3.9
verbose system product: Apple Mac OS X 10.3.9
concise system technology: 7
regular system technology: Darwin 7.9
verbose system technology: Apple Darwin 7.9.0
Shouldn't that have been e.g.:
concise system product: 10.3
regular system product: Mac OS X 10.3.9
verbose system product: Apple Mac OS X 10.3.9 (Build 7W98)
In order to match Darwin tech ?
Just an idea/suggestion, truncating to 10 is too much...
--anders
PS. Here's the entire OS list:
IGNORE
Mac OS X P.B. => Darwin 1.2 ("Public Beta 1")
Mac OS X 10.0 => Darwin 1.3 ("Public Beta 2")
PREVIOUS
Mac OS X 10.1.0 => Darwin 1.4 (used "gcc2": 2.95.2)
Mac OS X 10.1.5 => Darwin 5.5 [frozen: MacOSX10.1.5.sdk]
Mac OS X 10.2.0 => Darwin 6.0 (used "gcc3": 3.1)
Mac OS X 10.2.8 => Darwin 6.8 [frozen: MacOSX10.2.8.sdk]
CURRENT
Mac OS X 10.3.0 => Darwin 7.0 (uses "gcc-3.3": 3.3)
Mac OS X 10.3.9 => Darwin 7.9 [frozen: MacOSX10.3.9.sdk]
Mac OS X 10.4.0 => Darwin 8.0 (uses "gcc-4.0": 4.0)
Mac OS X 10.4.9 => Darwin 8.9 [usually: MacOSX10.4u.sdk]
UNRELEASED
Mac OS X 10.5.0 => Darwin 9.0 (in development)
http://www.opensource.apple.com/darwinsource/
The .sdk is used with -isysroot:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
cross_development/
and also
http://developer.apple.com/documentation/Porting/Conceptual/
PortingUnix/
e.g. {C,CXX,LD}FLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
i386 -arch ppc"
______________________________________________________________________
OpenPKG http://openpkg.org
Developer Communication List openpkg-dev@openpkg.org