Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Targeting platforms
Targeting platforms [message #45197] Wed, 30 September 2015 05:36 Go to next message
jstemper is currently offline  jstemper
Messages: 1
Registered: September 2015
Junior Member
I am investigating multi-platform development. I have many years C/C++, but all in Windows. How is the source compiled for the different platforms? Can I create code that targets Linux/OSX from my Windows machine?
Thanks...
Re: Targeting platforms [message #45198 is a reply to message #45197] Wed, 30 September 2015 08:48 Go to previous message
koldo is currently offline  koldo
Messages: 3354
Registered: August 2008
Senior Veteran
Hello jstemper

As compilers in Windows and Linux follow approximately the same standards, command line programs are almost the same in Linux and Windows.

However, certain low level details and complex areas as user interface programming depend on libraries that are not always the same in Windows and Linux. For example, if you want to program 3D applications using DirectX, you could not port it to Linux.

To solve that, libraries and frameworks as U++ let you use the same source in Windows and Linux. This is amazing but true. You can code a full featured GUI program in Windows, copy your sources to a Linux computer, and compile and run them without any change. U++ does the magic transparently.


Best regards
IƱaki
Previous Topic: Toolbar icon Change
Next Topic: Formatting a date in a sqlArray column
Goto Forum:
  


Current Time: Thu Mar 28 09:38:01 CET 2024

Total time taken to generate the page: 0.01138 seconds