Compiling a program for Mac OSX from a windows computer

This is a discussion on Compiling a program for Mac OSX from a windows computer within the Windows Programming forums, part of the Platform Specific Boards category; I'm not sure what forum this question should go under, but hopefully I'm not throwing the forum into eternal chaos ...

  1. #1
    Registered User
    Join Date
    Feb 2009
    Posts
    7

    Question Compiling a program for Mac OSX from a windows computer

    I'm not sure what forum this question should go under, but hopefully I'm not throwing the forum into eternal chaos to post this here, so:

    How can I compile a program that can run on the Mac OSX operating system without using Mac's sdk?
    I want to compile a program using standard headers like <iostream.h> etc, but I need to compile it from my Windows machine.
    Is that possible?

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,417
    Sure, so long as it only uses standard headers, it should compile on any machine with a standard compiler.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling Linux kernel on Windows
    By jmd15 in forum Linux Programming
    Replies: 9
    Last Post: 04-10-2006, 07:28 AM
  2. Program works on Windows XP and 2000, not on 98 or ME
    By MidnightlyCoder in forum C++ Programming
    Replies: 7
    Last Post: 03-10-2006, 02:36 PM
  3. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 06:05 PM
  4. Replies: 6
    Last Post: 01-07-2002, 01:46 AM
  5. Problem with Borland 5.5 Compiling Windows Programs
    By Unregistered in forum C++ Programming
    Replies: 3
    Last Post: 08-28-2001, 09:04 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21