Top "Cross-platform" questions

An attribute conferred to computer software or computing methods and concepts that are implemented and inter-operate on multiple computer platforms.

What is the best way to find the users home directory in Java?

The difficulty is that it should be cross platform. Windows 2000, XP, Vista, OSX, Linux, other unix variants. I am looking …

java cross-platform home-directory
What's the best CRLF (carriage return, line feed) handling strategy with Git?

I tried committing files with CRLF-ending lines, but it failed. I spent a whole work day on my Windows computer …

git cross-platform newline eol
Generate list of all possible permutations of a string

How would I go about generating a list of all possible permutations of a string between x and y characters …

string language-agnostic cross-platform
How to detect reliably Mac OS X, iOS, Linux, Windows in C preprocessor?

If there's some cross-platform C/C++ code that should be compiled on Mac OS X, iOS, Linux, Windows, how can …

c++ c cross-platform c-preprocessor os-detection
Automatically add all files in a folder to a target using CMake?

I am considering switching a cross platform project from separate build management systems in Visual C++, XCode and makefiles to …

c++ cross-platform cmake
How to check if running in Cygwin, Mac or Linux?

I have a shell script that is used both on Windows/Cygwin and Mac and Linux. It needs slightly different …

bash shell cross-platform cygwin
How is Java platform-independent when it needs a JVM to run?

I just started learning Java and I'm confused about the topic of platform independence. Doesn't "independent" imply that Java code …

java cross-platform
Using CMake to generate Visual Studio C++ project files

I am working on an open source C++ project, for code that compiles on Linux and Windows. I use CMake …

c++ visual-studio build-process cross-platform cmake
How to execute XPath one-liners from shell?

Is there a package out there, for Ubuntu and/or CentOS, that has a command-line tool that can execute an …

xml shell xpath cross-platform
How do you get a directory listing in C?

How do you scan a directory for folders and files in C? It needs to be cross-platform.

c file directory cross-platform common-tasks