Is there a "visual" compiler that can compile for Win,Mac,Linux and Unix?

Onceler

Golden Member
Feb 28, 2008
1,262
0
71
from a windows 7 PC?
preferably free
I need one capable of making a GUI as well as a program I don't mind if it is intermediate code as long as it can be compiled later with a different program or programs(depending on the target platform).
Thanks
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,634
4,562
75
Eclipse or NetBeans for Java?

If you compile something with MSVC#, you might be able to get it to run on Linux/Unix/Mac with Mono.
 

Onceler

Golden Member
Feb 28, 2008
1,262
0
71
I'm sorry I should have mentioned that my interest is in C or C++
I want something that will generate C++ code that can then be compiled for native(not interprited code) execution and make really fast executables.
 

TomGriffinII

Junior Member
Aug 14, 2009
9
0
0
You might want to look at Free PASCAL over at http://www.freepascal.org/

The current version can compile to: "The following operating systems are supported: Linux, FreeBSD, Haiku, Mac OS X/Darwin, DOS, Win32, Win64, WinCE, OS/2, Netware (libc and classic) and MorphOS."

"Free Pascal (aka FPK Pascal) is a 32 and 64 bit professional Pascal compiler. It is available for different processors: Intel x86, Amd64/x86_64, PowerPC, PowerPC64, Sparc, ARM."

And you can compile for a toaster (MAC OS X 10.4) however it requires the Apple developer tools.

We used to write software in C++ and just wrap a very thin GUI client to call the OS neutral objects.

Good Luck if you find anything better cough it up.:sneaky:
 

squatchman

Member
Apr 1, 2009
50
0
0
The Qt framework would certainly get you where you want to be, but the UI code is mostly done in with a declarative syntax that is then pre-compiled into generated c++ code. Most of it won't compile without Qt, but the editor isn't bad and Qt Designer is a great visual UI editor as well.

Some people like wxWidgets. I haven't worked with it.


Cross Platform User Interfaces are not really a strong point for c++ in my experience.
 

HumblePie

Lifer
Oct 30, 2000
14,665
440
126
I'm sorry I should have mentioned that my interest is in C or C++
I want something that will generate C++ code that can then be compiled for native(not interprited code) execution and make really fast executables.



Nothing out there that doesn't take work if you are looking to use C/C++.

Basically to compile C++ code on all those operating systems you need to be able to run all of those on a machine or several machines. Here is what I used to do.

I used Visual Studio from Microsoft. I ran VMWare and had an instance of every operating system running that I wanted to compile code for. I then wrote an plugin for Visual Studio to send my code, along with any building commands and options needed, to the proper VM system running through the loop back network adapters I created to talk between WMware instances. I would use something like Putty to send things back and forth. I created a few buttons with the plugin for each of the build types I was trying to accomplish.

So basically I could hit one button at the end at the top of my toolbar to batch compile my code for every operating system I had running as a VMware.

It took a long time to write and it wasn't simple to do so. Especially since Visual Studio 2008 with the new IDE for plugins had just came out. Which means the documentation was sporadic at best at the time.
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
Nothing out there that doesn't take work if you are looking to use C/C++.

Basically to compile C++ code on all those operating systems you need to be able to run all of those on a machine or several machines. Here is what I used to do.

I used Visual Studio from Microsoft. I ran VMWare and had an instance of every operating system running that I wanted to compile code for. I then wrote an plugin for Visual Studio to send my code, along with any building commands and options needed, to the proper VM system running through the loop back network adapters I created to talk between WMware instances. I would use something like Putty to send things back and forth. I created a few buttons with the plugin for each of the build types I was trying to accomplish.

So basically I could hit one button at the end at the top of my toolbar to batch compile my code for every operating system I had running as a VMware.

It took a long time to write and it wasn't simple to do so. Especially since Visual Studio 2008 with the new IDE for plugins had just came out. Which means the documentation was sporadic at best at the time.

I just use CMake + git for my x-platform C++.