Thanks Gustavo,

Can you commit the patch to the trunk and the mozart-1-3-0-fixes please?

cheers
Boriss

Gustavo Gutierrez wrote:
On 9/12/07, Gustavo Gutierrez <[EMAIL PROTECTED]> wrote:
On 9/11/07, Torsten Anders <[EMAIL PROTECTED]> wrote:
Dear all,

on a Macbook Pro, the function {Property.get 'platform.os'} returns
'i486', whereas {Property.get 'platform.arch'} returns 'darwin'. I
expect that these two values have been swapped accidentally. BTW,
according to the list at http://www.mozart-oz.org/documentation/
system/node69.html#section.property.platform, a similar swapping
concerning the arch 'powermac' with OS 'darwin' even made it into the
documentation -- in contrast to the arch 'powermac' with OS 'linux'.


After some deep revision, i think that the result of the following
cases are swapped:

  *Power*Mac*Rhapsody*) OZARCH=powermac-rhapsody
   ;;
   *Power*Mac*Darwin*)  OZARCH=powermac-darwin
   ;;
   *i*86*Darwin*)       OZARCH=i486-darwin

At the end you will find the patch file that IMO fixes the problem. By
the way, it seems to me that mozart cannot be built in a mac G5, since
powerpc64 is not in any case statement.

Cheers,
Gustavo.
------ Patch file ------

=== ozplatform
==================================================================
--- ozplatform  (revision 323)
+++ ozplatform  (local)
@@ -72,11 +72,11 @@
    ;;
    *i[4567]86*CYGWIN*)       OZARCH=win32-i486
    ;;
-   *Power*Mac*Rhapsody*) OZARCH=powermac-rhapsody
+   *Power*Mac*Rhapsody*) OZARCH=rhapsody-powermac
    ;;
-   *Power*Mac*Darwin*) OZARCH=powermac-darwin
+   *Power*Mac*Darwin*) OZARCH=darwin-powermac
    ;;
-   *i*86*Darwin*)       OZARCH=i486-darwin
+   *i*86*Darwin*)       OZARCH=darwin-i486
    ;;
    *)                          OZARCH=unknown-unknown
    ;;
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to