C++ editor with a cross compiler

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • michaeldebruin
    New Member
    • Feb 2011
    • 134

    C++ editor with a cross compiler

    Hello all,

    Anyone here who knows a good C++ editor which has the ability to cross compile from windows to for example android, iOS and windows phone (it's also fine if I need to install some sort of plugin)?
    Currently I've MS visual studio 2010 installed, but as far as I know it can only compile to windows desktop applications. I would also prefer code completion but that's not really necessary.

    Thanks in advance

    Michael
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Visual Studio can build projects for more than desktop aplications. You can make Windows CE apps.

    As for Android or Linux or whatever, you will probably need to get compilers for those OS's and then write code that compiles across all platfoms.

    Look at usng C#.

    Comment

    • michaeldebruin
      New Member
      • Feb 2011
      • 134

      #3
      I know I can build more than only desktop applications with visual studio, but not when using C++.
      And I already have some experience with C# and with that I can create windows phone apps, although it's silverlight not C#.
      But I am looking for an C++ editor which provides me a compiler which can cross compilte to several platforms but for me Android, iPhone and Windows Phone are the most important ones. But thanks for the help anyway.

      Comment

      • kiseitai2
        New Member
        • Jul 2007
        • 93

        #4
        Try Code::Blocks (http://www.codeblocks.org/) for the editor. The problem is the compiler because you have to study the platform in so far as whether it's OS/firmware is Linux based. If the answer is not, you have to figure out where to get platform-specific compilers. For the case of android, you would need to check the platform's manufacturer's site for any free compilers or google it. I think that you have to subscribe to Apple's Developer Program for iOS compilers or (again) google for some underground solutions.

        Comment

        • kiseitai2
          New Member
          • Jul 2007
          • 93

          #5
          In Code::Blocks you can configure the IDE to use any compilers you have downloaded, I think.

          Comment

          • michaeldebruin
            New Member
            • Feb 2011
            • 134

            #6
            Oke thanks a lot guys. I have downloaded and installed Code::Blocks just need to figure out how to cross compile. But I'll be fine, so again thanks a lot for all the help.

            Comment

            • kiseitai2
              New Member
              • Jul 2007
              • 93

              #7
              To set up your compiler toolchain (like I set up my pspdev toolchain to program for the psp), go to Settings> Compilers and Debuggers> Click on copy under the first compiler. Then rename the "cloned settings" to the compiler name (I named mine "PSP Toolchain so I remember). Finally, customize the different tabs, especially the Toolchain tab! Have fun compiling a hello world program!

              Also, I'm glad to be of help! :)

              Comment

              • michaeldebruin
                New Member
                • Feb 2011
                • 134

                #8
                Oke thanks a lot again kiseitai2.

                Comment

                Working...