Commit 5ca4a013 authored by sebc's avatar sebc
Browse files

[project @ 2001-12-10 01:27:59 by sebc]

MacOS X 10.1 identifies as "darwin"
parent 016c809c
......@@ -266,15 +266,15 @@ powerpc-ibm-aix*)
HostVendor_CPP='ibm'
HostOS_CPP='aix'
;;
powerpc-apple-macosx*)
HostPlatform=powerpc-apple-macosx
TargetPlatform=powerpc-apple-macosx #hack
BuildPlatform=powerpc-apple-macosx #hack
HostPlatform_CPP='powerpc_apple_macosx'
HostArch_CPP='powerpc'
HostVendor_CPP='apple'
HostOS_CPP='macosx'
;;
powerpc-apple-darwin*)
HostPlatform=powerpc-apple-darwin
TargetPlatform=powerpc-apple-darwin #hack
BuildPlatform=powerpc-apple-darwin #hack
HostPlatform_CPP='powerpc_apple_darwin'
HostArch_CPP='powerpc'
HostVendor_CPP='apple'
HostOS_CPP='darwin'
;;
sparc-sun-sunos4*)
HostPlatform=sparc-sun-sunos4
TargetPlatform=sparc-sun-sunos4 #hack
......
......@@ -76,6 +76,8 @@ powerpc-ibm-aix*)
TargetPlatform=powerpc-ibm-aix;;
rs6000-ibm-aix*)
TargetPlatform=rs6000-ibm-aix;;
powerpc-apple-darwin*)
TargetPlatform=powerpc-apple-darwin;;
sparc-sun-sunos4*)
TargetPlatform=sparc-sun-sunos4;;
sparc-sun-solaris2*)
......
......@@ -1059,8 +1059,8 @@ or higher)</term>
</varlistentry>
<varlistentry>
<term>powerpc-apple-macosx</term>
<indexterm><primary>powerpc-apple-macosx</primary></indexterm>
<term>powerpc-apple-darwin</term>
<indexterm><primary>powerpc-apple-darwin</primary></indexterm>
<listitem>
<para>Works, unregisterised only at the moment.</para>
</listitem>
......
{-# OPTIONS -#include "hschooks.h" #-}
-----------------------------------------------------------------------------
-- $Id: DriverFlags.hs,v 1.80 2001/12/05 00:08:26 sof Exp $
-- $Id: DriverFlags.hs,v 1.81 2001/12/10 01:28:00 sebc Exp $
--
-- Driver flags
--
......@@ -535,7 +535,7 @@ machdepCCOpts
-- register used for global register variable", we simply
-- disable all warnings altogether using the -w flag. Oh well.
| prefixMatch "powerpc-apple-macosx" cTARGETPLATFORM
| prefixMatch "powerpc-apple-darwin" cTARGETPLATFORM
= return ( ["-no-cpp-precomp"], [""] )
| prefixMatch "powerpc" cTARGETPLATFORM || prefixMatch "rs6000" cTARGETPLATFORM
......
/* -----------------------------------------------------------------------------
* $Id: MBlock.c,v 1.24 2001/10/26 11:49:19 sewardj Exp $
* $Id: MBlock.c,v 1.25 2001/12/10 01:28:00 sebc Exp $
*
* (c) The GHC Team 1998-1999
*
......@@ -66,7 +66,7 @@ getMBlocks(nat n)
#elif hpux_TARGET_OS
ret = mmap(next_request, size, PROT_READ | PROT_WRITE,
MAP_ANONYMOUS | MAP_PRIVATE, -1, 0);
#elif macosx_TARGET_OS
#elif darwin_TARGET_OS
ret = mmap(next_request, size, PROT_READ | PROT_WRITE,
MAP_FIXED | MAP_ANON | MAP_PRIVATE, -1, 0);
#else
......
/* -----------------------------------------------------------------------------
* $Id: MBlock.h,v 1.10 2001/07/26 03:26:28 ken Exp $
* $Id: MBlock.h,v 1.11 2001/12/10 01:28:00 sebc Exp $
*
* (c) The GHC Team, 1998-1999
*
......@@ -52,7 +52,7 @@ extern void * getMBlocks(nat n);
/* guess */
#define HEAP_BASE 0x50000000
#elif macosx_TARGET_OS
#elif darwin_TARGET_OS
/* guess */
#define HEAP_BASE 0x50000000
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment