![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Retired Programmer
Join Date: Jul 2006
Posts: 45
Rep Power: 0
![]() |
C++ Programming on Macs from Windows?
I need an IDE (or a way to make a current IDE) for Windows that can develop and test programs for macs without using a cross compatable toolkit. It needs to develop exclusivly for mac (if its a toolkit).
|
|
|
|
|
|
#2 |
|
Professional Programmer
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3
![]() |
What do you mean by "exclusivly for mac", the only way you can do that without using a Mac is by using C++ libraries which run on the Mac as well as windows. Then just compile you program on a Mac and hope it works. You can't develope using Cocoa and Carbon or any other mac technology unless you are on a mac.
|
|
|
|
|
|
#3 |
|
Professional Programmer
|
You also cannot compile any executables for a PPC architecture on a Intel Processor, nor can you compile for a Dual Core on a Pentium without using cross compiling tools.
If you're getting a contract for some Mac work, it might be wise to invest in a mac, just for compiling/QA purposes. |
|
|
|
|
|
#4 |
|
Retired Programmer
Join Date: Jul 2006
Posts: 45
Rep Power: 0
![]() |
I did want to have to use cross toolkits. But if I must...
|
|
|
|
|
|
#5 |
|
Professional Programmer
|
well, there is no other way to compile binaries that will run on a different processor type.
|
|
|
|
|
|
#6 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Perhaps you don't understand the situation. Microprocessors of differing type have different hardware circuitry. Some of the signals to drive these circuits are provided by software (machine code), along with some internal microcode. Machine code is produced by higher languages, such as assembler (generally very direct, often a direct mapping to machine code), as well as more abstract languages such as C, Fortran, you name it. These languages are tailored for a specific platform and ultimately emit machine code for the processor (even if via a virtual machine). Codes emitted for a given processor will not run on a non-compatible processor. This is the reason for cross-platform tools. It is also a reason for the existence of VMs, which do the "crossing" for you. The VMs, of course, have to be written for specific processors, also.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#7 |
|
Programmer
|
You can, in theory, build a cross gcc (targeting something like i686-apple-darwin) that runs inside MinGW, but as noted, it's probably a lot easier to get a Mac.
|
|
|
|
|
|
#8 |
|
Sexy Programmer
|
Why do you need to develop for a Mac when you don't own one? I am just curious.
__________________
I would love to change the world, but they won't give me the source code! |
|
|
|
|
|
#9 | ||
|
Battle Programmer
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 751
Rep Power: 3
![]() |
Quote:
Quote:
![]()
__________________
<insert disclaimer here> <insert shameless plug for Visual Studio here> |
||
|
|
|
|
|
#10 | |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Quote:
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C++ windows programming | msk420 | C++ | 13 | May 25th, 2006 3:06 AM |
| Windows Programming | jobobshishkabob | C++ | 6 | Feb 19th, 2006 6:24 PM |
| Windows Programming | mackenga | Other Programming Languages | 10 | May 20th, 2005 5:11 AM |
| Help with finding windows programming books | some1 | C++ | 11 | Feb 9th, 2005 9:19 AM |