473,383 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

C++ editor with a cross compiler

134 100+
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
Jul 27 '12 #1
7 2499
weaknessforcats
9,208 Expert Mod 8TB
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#.
Jul 27 '12 #2
michaeldebruin
134 100+
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.
Jul 28 '12 #3
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.
Jul 29 '12 #4
In Code::Blocks you can configure the IDE to use any compilers you have downloaded, I think.
Jul 29 '12 #5
michaeldebruin
134 100+
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.
Jul 30 '12 #6
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! :)
Jul 31 '12 #7
michaeldebruin
134 100+
Oke thanks a lot again kiseitai2.
Aug 1 '12 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Koen | last post by:
Hi! What is the method you use to handle memory allocation failure in C++ using the "new" operator? I used to only check if a NULL pointer is returned after the "new" call, but that's probably...
1
by: Gyro | last post by:
Hello All I Wanna compile GCC targeted for SUN SPARC. Where I can get compiler sources?
3
by: happy | last post by:
I am searching over the net for a Good C compiler that has good editor .. Tc 2.01 has bad editor . please advice me with aweb site for downloading the godd Editor C compiler NOT C++. Thanks
1
by: Timur Safin | last post by:
Hi All, Sorry if it is offtopic here, I wasn't able to find any more relevant group... I'm slowly approaching AMD64 build for our product (as my personal fun project). And after I ran that...
9
by: Bill Woessner | last post by:
Suppose I have a structure, foo, which is a POD. I would like to read and write it to disk as follows: std::ofstream outs; foo bar; outs.write(reinterpret_cast<char*>(&bar), sizeof(foo));...
0
by: Jloyd | last post by:
Hi all, I wanted to install the cross compiler for m68k (motorola) GCC2.96+ or GCC 4.2 Beta version in cygwin. This compiler is used to compile the C source code. I got to know that the GCC...
2
by: Hendrik van Rooyen | last post by:
Up to now, I have been innocently using the vanilla python that comes with the Linux distribution (Suse in my case). For the past few days, I have been playing with a little device called an...
0
by: Hendrik van Rooyen | last post by:
Jorgen Grahn wrote: The eBox comes with a non free (both as in beer and speech) distribution, without even a root password, and tied to the mac address in the hardware so that it can only run...
0
by: tvnaidu | last post by:
Ned to cross compile working C / C++ code for Freescale Power PC (e500 core), any idea where can I download cross compiler tool chain, any POWER PC is Ok (PPC 82xx, 84xx). Thanks. If this is not...
2
by: tvnaidu | last post by:
Downloaded PowerPC cross compiler tool chain for LINUX, trying to compile C / CPP file, I am getting "Floating Point exception" to compile any file, no problem with regular GCC. any idea why I am...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.