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 » Extra libraries, Code snippets, applications etc. » OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc » So many preprocessor defines for platform !
Re: So many preprocessor defines for platform ! [message #39642 is a reply to message #39640] Fri, 12 April 2013 08:21 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

It all depends on what exactly you need to do, i.e. what platform specific code you need to write. U++ in itself is ready to be used in multiplatform applications. And if you plan to use some low level stuff, which can be very specific, you can always use directly the macros defined by the compiler (e.g. _WIN32 in MSVC or __linux for GCC on linux).

Also, you mention compiling on various systems vs. cross-compiling. I think these days the best choice is to use virtualbox, wmware or some other virtualization tool and just create virtual machines for all the target systems. In some cases you don't even have to go as far using virtualization, e.g. windows builds can be easily done using Wine + windows version of TheIDE.

Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: U++ for Android?
Next Topic: Strange behaviour: spy++ vs Ranorex vs EnumChildWindows
Goto Forum:
  


Current Time: Tue Apr 16 08:03:31 CEST 2024

Total time taken to generate the page: 1.04504 seconds