Intel C++ Composer XE for Linux

Discussion in 'macOS' started by er2020, Feb 22, 2011.

  1. er2020 macrumors newbie

    Joined:
    Aug 14, 2010
    #1
    This compiler is non-commercial (free). I need it to verify the portability of my C++ programs.

    Is there the slightest change it might work on OS X 10.6? Alternatively, is there a package that ports it to OS X 10.6?

    Thanks.
     
  2. old-wiz macrumors G3

    Joined:
    Mar 26, 2008
    Location:
    West Suburban Boston Ma
    #2
    I can't imagine a way to make it work in OSx. I'd look for a similar C++ compiler that runs in OSx.
     
  3. MisterMe macrumors G4

    MisterMe

    Joined:
    Jul 17, 2002
    Location:
    USA
    #3
    It is my understanding that C++ is the most portable language ever developed. Every Mac ships with gcc which includes a C++ compiler. gcc is the compiler suite for Linux. You may access it via Xcode or the Terminal command line. If the Developer Tools are installed already, then you are all set. If the Developer Tools are not installed already, then they must be installed from the System Restore disc that shipped with your Mac. They may also be downloaded from the Apple Developer Connection website. In case the point is not clear, C++ is available on your Mac free of charge.

    However, you can expect only "textbook" C++ programs to work cross-platform. If your C++ application accesses OS-specific APIs or frameworks, then they will work only on that specific OS. If you want GUI-based applications to work cross-platform, then you must use compile your applications to a cross-platform frameworks.
     
  4. er2020 thread starter macrumors newbie

    Joined:
    Aug 14, 2010
    #5
    Thank you all. I'm already familiar with the XCode IDE and its built-in compilers.

    Like I said I'm only interested in Intel to verify portability of some open source software I have developed.

    However, only the Linux version of Intel C++ is free. I'm hoping, since OS X is a variant of unix, that perhaps someone found a way to make the Linux-compatible compiler work on OS X.

    Otherwise, I'll continue using a virtual machine (virtual box).
     
  5. er2020 thread starter macrumors newbie

    Joined:
    Aug 14, 2010
    #6
    Good point, thanks. Actually, no, these are only "console" applications.
     

Share This Page