Hi,

in the past time, I have received a couple of requests to include support
to compile AS on Apple systems.  There is currently no such support, and
it is unlikely to come in the near future, and I will explain why.

Until about three months ago, I simply did not have access to any Apple 
system, so I was unable to verify the functionality of any patch sent
to me.  I had had some unpleasant mail exchanges with Apple users in the
past, and I decided to silently ignore these contributions to avoid
unnecessary arguments.

People who have read something about me on these pages know that I
work as a software engineer for LANCOM Systems, mainly in the area
of wireless networking.  We recently had to deal with a bunch of
problems with Apple's WLAN clients, and as a side effect of these
activities, I now had a shiny new Apple MacBook Pro sitting on my
desk.

Thankfully, my employer doesn't mind that employees use their
company laptops also for private things from time to time.  In
December 2011, I had some leftover vacation days, resulting in three
weeks of vacation over Christmas and New Year.  I thought this would
be enough to find one or two days to deal with this, so I took the
MacBook with me into the holidays.  Regarding OS APIs, AS is quite a
simple command-line tool, and OSX is more or less a Unix-style OS,
so I thought the job would be done after adding just a few lines to
some makefiles and headers.

So this morning (Jan 5th, 2012), I fired up the Mac and started
working on it.  I'm a firm believer in command lines and don't like
bloated GUIs, so I opened a terminal, FTPed the AS archive over from
may main Linux PC and untarred it.  So far, so good...

...until bash plainly told me that there was neither a gcc nor a
make.  Well, I thought, OK, Apples are mainly built for users and
not for developers, so development tools must be some sort of
optional package.  No, I did <i>not</i> get any CD along with the
machine, so I searched for a GCC port for OSX.  I quickly learned
that this is part of some program called 'XCode', which could be 
downloaded from developer.apple.com.  So I pointed the pre-installed
Safari to this URL...

<ul>
 <li>This page first told me that to get XCode, I had to become
     an 'Apple Developer' (whatever this precisely means...), and
     for this, I had to get an 'Apple ID'.  I was still calm and
     controlled at this point, so I typed in my name, E-Mail address
     and password.</li>
 <li>A few minutes later, the enable code arrived via E-Mail, and
     I was able to surf to the XCode page.  It showed a bunch of
     colorful snapshots, a lot of marketing blurb irrelevant to me,
     and it took me a while to find out that I had to use the link
     to the AppStore to actually download something.</li>
 <li>The AppStore first wanted me to type in my shiny new Apple ID.
     I tried it three times, but the password I had set was rejected
     every time - and yes, I am 100% sure it was the passwort I
     initially used when creating the ID!</li>
 <li>At this point, my blood pressure slowly began to rise.  But I
     was still willing to bite the bullet to get the C
     compiler, so I went through the password reset procedure.  This
     time the login worked...</li>
 <li>But next, the AppStore told me that this Apple ID was to be used
     for the first time (you don't say...) and they wanted me to
     enter some additional information.  I can live with giving them
     my postal address (it's in the Aachen phone book, anyway), but
     <i>why the heck do they want my credit card number</i>?  I am
     about to download something that is <i>free</i>, why the hell
     do they want my credit card number for that??!</i>
</ul>

That was roughly the point of time when my blood pressure reached an
unhealthy level and when I decided that all this is not worth the
time and effort.  I effectively gave up and packed the MacBook back
under the desk, where it is going to remain for the rest of my
vacation...so no out-of the box Apple support in AS for the
foreseeable future, I'm terribly sorry.

It might be that some of the more 'Apple-experienced' of you will
tell me that I simply made everything wrong and just have do this
and that and yadda yadda - presto, there is the compiler.  That
might all be, but keep in mind that I have effectively never used
a Mac for this before.  I was always under the impression that Apple
OSes are made to be especially user-friendly to newbies, but somehow
all this hasn't been user friendly to me.

I have been working on an Apple ][ with 
CP/M in the past - yes my first computer was an Apple, though only
a cloned one (couldn't afford anything more back then). I have been
working with DOS and OS/2, and for almost two decades now I use
Linux as my main operating system and I'm quite satisfied with that.

If that experience is somehow 'biasing' me in some way that I cannot
get along with the "Apple way" (App stores, GUIs, user interfaces
geared for novices), then I'm sorry but that's it.  And don't tell
me anything that my attitude toward usage of a computer is outdated
or wrong, this is just a lame excuse for a system not being able to
adapt to a user's needs, or an indication of people not able to 
understand that there is more than one (their) way to use a computer.
Machines should adapt to humans and not vice versa.

Apple may make great and solid hardware, and the way their software
is organized may address a huge part of people today, but I'm
obviously not part of them.  I'm neither proud nor sorry about this,
it's just the way it is.

Nevertheless, if there is a less painful way of getting a C compiler
on a Mac, let me know.  I may have calmed down by then and be ready
for another attempt...


