Results 1 to 3 of 3
  1. #1

    Member Since
    Oct 16, 2009
    C++ Windows compatibility?
    I have written an encryption program in c++ and compiled with xcode. The program does not use any UNIX specific headers or anything. How can I make it run on a 64 bit Windows machine without recompiling on that computer?

  2. #2

    Member Since
    Dec 09, 2008
    As long as you havent used any platform specific librarys you should be okay to run it on both operating systems. you will most likley need to compile it for windows though.

    You can use GCC with cygwin or something like nmake which comes with visual studio.

  3. #3

    Member Since
    May 10, 2010
    The short answer is you can't. You MUST recompile it for the target OS.

    In theory though you can recompile it using GCC as a Windows executable but I've never tried it.

    Check this out:

    nyctergatis - Cross-GCC

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Compatibility of OS x and Windows on Time Machine
    By mrblankos in forum OS X - Operating System
    Replies: 1
    Last Post: 08-28-2012, 07:19 PM
  2. Windows XP - 2011 Macbook Pro Compatibility
    By Box215 in forum Running Windows (or anything else) on your Mac
    Replies: 18
    Last Post: 03-12-2011, 01:16 AM
  3. windows compatibility
    By anarchofreak in forum OS X - Apps and Games
    Replies: 6
    Last Post: 01-21-2009, 09:52 AM
  4. Compatibility of Windows applications in Bootcamp
    By jpopsurfer in forum Running Windows (or anything else) on your Mac
    Replies: 2
    Last Post: 02-23-2008, 04:30 PM
  5. compatibility in a windows environment?
    By macbook37499 in forum Switcher Hangout
    Replies: 4
    Last Post: 08-06-2007, 10:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts