Project

General

Profile

Bug #386

Flavor for usual OS on unusal processor

Added by Marc Mengel over 9 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03/26/2010
Due date:
% Done:

80%

Estimated time:
Spent time:
Experiment:
Duration:

Description

When we have Linux on PowerPC, or Solaris on Intel, etc. using a flavor
of Linux or SunOS will be wrong, because the binaries won't be compatable.

So we've added a list of strings to match for each platform in the machine type
(uname -m) string, which is the known, default type. If we don't see that type,
then it is an unfamiliar CPU type for that flavor, and we add the machine type.
So for Linux on i386 or i686 we get "Linux", but for Linux on ppc, we get "Linuxppc";
and for Solaris on sun4u we get "SunOS", but for Solaris on i386 we get "SunOSi386".

History

#1 Updated by Marc Mengel over 9 years ago

  • % Done changed from 0 to 80

Put a rough draft of the changes for this in r2629 in upsuname.c (there are some -. changes in some of the other files, didn't commit them separately (sigh))...

We have a table of known OS names and machine name substrings to match.

This needs more testing, esp. on Solaris and possibly Irix if we have any left anywhere.

#2 Updated by Marc Mengel over 9 years ago

  • Target version set to v4_8

#3 Updated by Marc Mengel over 7 years ago

  • Status changed from New to Resolved

#4 Updated by Marc Mengel over 2 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF