Questions tagged [cross-platform]
Cross-platform applications have the ability to be compiled (and then run) on multiple operating systems, usually with little-to-no changes in the code. This is accomplished through various checks in the code itself, or more commonly by the use of a cross-platform development library.
142
questions
-2
votes
2
answers
332
views
How to make windows .exe executables in Linux [No Duplicate- Extended Version] [closed]
Let me describe what I want to do. I want to make a software/application that I can run on both Linux and Windows. It could be any language for example: cpp,java,python.I need to know what is the ...
12
votes
6
answers
10k
views
Is there a general purpose scripting language that I can expect to find on (almost) all Windows installations?
I'm deciding on the programming language I want to use for a simple script that will make a HTTP request checking for avaliable updates, download the update if avaliable and execute a program. On ...
0
votes
0
answers
46
views
Cross-platform dockerized `rootfs` builder very slow without `-privileged`
I am trying to build an Orange Pi 5 (aarch64) image on my x86 machine with Gentoo.
For that, I created a Dockerfile of Ubuntu 22.04 docker image to run the image build script provided.
What I noticed ...
0
votes
0
answers
69
views
Building 8051 application under DOS
I'm trying to rebuild some 8051 code from 25 years ago and the documentation is a bit sketchy. It is all MS-DOS based and I'm running it from the Command Prompt on a Windows XP machine.
I've managed ...
1
vote
1
answer
2k
views
How can I download a python package with dependencies for a specific python version of an offline cross-platform?
I have an online Windows PC with Python 3.10.10 and pip 23.0.1. I want to download a python package and its dependencies for an offline computer that has a 64-bit Linux and Python 3.6.8. I tried:
pip ...
0
votes
1
answer
330
views
prepairing an raw disk image to be readable/mountable crossplatform
Does anyone know of an easy way to prepare a raw disk image to be accessible across platforms?
Sometimes I do data transfers for people and there are times when I just want to supply an image of the ...
0
votes
1
answer
200
views
How to enable "Safe Sleep" mode on a Windows PC
Mac computers, running MacOS, offer a feature which Apple calls "safe sleep":
"Every time the Mac goes to sleep, the current state of the computer is saved to the drive, including all ...
0
votes
0
answers
114
views
How to cross-compile REDIS for ppc_85xxDP?
When I try to compile redis source code for ppc_85xxDP , I'm getting the following errors.
Can someone help me in solving this error ?
export TNAME=ppx_85xxDP
export ARCH=powerpc
export ...
0
votes
1
answer
284
views
test for operating system in .ssh/config
I have a remote server where authentifaction takes long time. Therefore I want to keep the connection open with ControlMaster.
However, ControlMaster does not work on Windows.
I want to use the same ....
1
vote
1
answer
14k
views
How to get user details from another domain
Currently i am in Domain-A and i am trying to get user id details from another domain(domain-B) with below command.
net user user-id /domain
The request will be processed at a domain controller for ...
0
votes
1
answer
195
views
Is there a cross-platform method of packaging many icons into one file?
I'm trying to find a method of packaging/archiving many .ico icon files (or another cross-platform equivalent) for use with a program for its multiple file type associations.
On windows, I could ...
2
votes
1
answer
4k
views
Trying to use Steam or SteamCMD to download Linux version of game on Windows
I'm aware that SteamCMD is probably geared towards people that run game servers but I thought I would try using it as a more practical way to back up the linux versions of my games without the hassle (...
0
votes
1
answer
103
views
git: automatic sync to remote for non-tech-savvies with GUI
Is there an easy GUI application for non-tech-savvies that enables automatic (i.e. on copy/create/delete file) syncing to a git remote. It should be actively maintained, preferably cross-platform ...
0
votes
1
answer
157
views
Can g++ compilers be used to build linux software on macos?
On windows I am able to develop for linux using WSL2. I ususally use CLion which allows me to switch between msvc and g++ with a flip of a switch. Is it possible to do the same thing on Mac? If so, ...
2
votes
2
answers
154
views
How to type on keyboard attached to Windows PC and send keypresses to Linux PC?
Context
I want to use a special keyboard that only works on a Windows PC (due to drivers). I do all my work on an Ubuntu machine.
The Windows machine and the Linux machine are side by side. They are ...
3
votes
1
answer
1k
views
Synchronize Multiple Anaconda Installations
I am a dual boot user, I use Ubuntu18.04 and Windows 10. I also have a parrot Linux running in VM inside ubuntu. Very Obviously I have a problem with tools sync across these platforms.
I have an ...
1
vote
1
answer
5k
views
Migrating a Linux (CentOS) .ova to a Windows Hyper-V
I tried following the steps outlined here: Convert OVA to VHD for usage in Hyper-V
But when I try to load the vhd into Hyper-V in Windows it's telling me it's corrupted, I'm suspecting it's because ...
-1
votes
2
answers
832
views
Windows 10 equivalent to OSX's ⌘+D to navigate to my desktop, ⌘+Shift+H for Home, ⌘+shift+A for apps etc
In finder on OSX there are shortcuts to special folders like the user's Desktop, the user's Home directory and the Applications directory (from memory it's ⌘D for ~/Desktop, ⌘shiftH for ~/ and ⌘shiftA ...
0
votes
1
answer
101
views
Cross Platform Method to Compress and Span Huge Directories
I have followed several posts on how to create spanned files that can be re-joined later on the same or different system. However, I have never seen a posting on how to do this in a way that works ...
5
votes
1
answer
3k
views
Cross-platform tool for clipboard sharing? [closed]
I'm looking for a tool that will allow me to share the clipboard between multiple systems operating within a LAN. The requirements I have are:
It can run on Windows, macOS, and Linux
Sharing is ...
8
votes
3
answers
23k
views
Android Emulator closed because internal error: emuglConfig_init: blacklisted=0 has_guest_renderer=1
I've searched just about everywhere for this issue: emuglConfig_init: blacklisted=0 has_guest_renderer=1 to try and solve it. Could someone shed some light on this?
Here's a screenshot of the given ...
0
votes
1
answer
6k
views
Cordova wmic error
[I'm on windows 10 - Linux Mint Terra is working fine :) ]
when I try to create a cordova project I get the following error:
C:\Users\user\EvothingsStudio\MyApps>cordova create DemoProject com....
1
vote
1
answer
6k
views
GDB cross-compilation for arm
I cross-compiling gdb on ubuntu 16.04 to debug an application running on arm.
The main tutorial I'm following is
https://sourceware.org/gdb/wiki/BuildingCrossGDBandGDBserver
The cross-toolchain ...
0
votes
1
answer
907
views
How can I compare a full directory's checksum between platforms?
I have a directory full of files and subdirectories on a Win7 machine. I want to archive them, so I compress and move them to archival storage. Before compression, I use the CRC context menu to ...
0
votes
0
answers
3k
views
Extremely slow copy on veracrypt encrypted drive
I have been trying to come up with a good solution for encrypted backups that I can access cross-platform. I decided to encrypt a partition on a 4TB external with VeraCrypt—AES, no PIM—and then format ...
1
vote
1
answer
78
views
The simplest way of running a cross-compiled executable in a FreeBSD environment
I have an executable cross-compiled for FreeBSD in a docker container.
What is the simplest way of running it?
1
vote
4
answers
1k
views
Run command on single file when changed with some shell magic (e.g replace extension)
I am writing several .gv files (graphviz) in the same directory and want to create a png file with neato immediately when I have saved one of them. I am on macOS 10.12.6, with zsh as my default shell, ...
2
votes
1
answer
799
views
How to maximize file compatibility between PC and phone?
I need to work with word processing and spreadsheet files, back and forth between two platforms:
my PC, currently running OpenOffice in Windows, and
my Android Nougat phone, currently running Docs ...
1
vote
0
answers
49
views
chrome - close browser but keep tabs synced to different device
So I recently fought down my anti-data-exposure reflex and logged myself in to Google Chrome to sync browser data.
The idea is to be able to look at stuff on Linux, reboot the device into Windows and ...
1
vote
1
answer
3k
views
cross compile gdb server to mips arc
Hi Im trying to crosscompile gdbserver to mips architecture . I'v donwloaded gdb 7-12 and after running configure
./configure --host=mips-linux-gnu
Im getting an error
Makefile:263: recipe for ...
0
votes
3
answers
1k
views
MacOS and Windows - Can you move your cursor between them
On Windows (and I assume MacOS too), you can move your cursor between multiple displays (both connected to the same computer). Is there a way, using third-party apps or natively, to allow movement of ...
2
votes
2
answers
4k
views
cross platform usb drive encryption
not sure if this is the correct place to ask this but is there a way to encrypt a usb flash drive across all platforms? (mac and windows) I'd prefer if I didn't have to use a third party program
0
votes
0
answers
93
views
How can I protect my NAS Backup system from ransomware [duplicate]
I'm currently running a Windows 7 Desktop PC, a MacBook Pro and an iPhone. In my homenetwork I am allowed to backup my MacBook to the MacMini Server, which also works as media server.
However my ...
7
votes
3
answers
988
views
Why some programs need a Path value, and some others don't in Windows?
Why When I install Composer on Windows 7/8/10, or some UNIX-suited programs like GNU Tar, I need to set their Path value, and if I don't, they won't be usable by other programs?
2
votes
2
answers
3k
views
What could cause "missing files" in a mercurial working directory, and what should I do to fix it?
Today I noticed a few files on my Ubuntu and Mac machines that seem to be missing in the Mercurial working directory on my Windows machine.
I'm using Mercurial to keep a folder synchronized between ...
-1
votes
1
answer
57
views
How can i create this search program?
I want to make a program that searches google periodically for images relating to or containing highly specific text and images, downloads them, and outputs them with the right trigger for Windows, ...
1
vote
0
answers
96
views
How to add metadata (source of the dataset) to a file (dataset)?
I usually have to download datasets from websites through a point-and-click system that is difficult to replicate in a Makefile. In these cases, I want to include as much metadata about how I ...
16
votes
4
answers
9k
views
Can the Edge web-browser by Microsoft run on multiple platforms?
Does the Edge web-browser by Microsoft run on multiple platforms (i.e. Linux, Mac, Windows)? Is Edge cross-platform?
1
vote
1
answer
1k
views
Is there a keyboard shortcut for the user's home directory or Program Files in windows explorer?
CommandShiftH in Finder will take me to my home (~/) directory, similarly CommandShiftA will take me to /Applications. Is there an equivalent for Explorer?
I know in Powershell I can use cd ~, but ...
1
vote
1
answer
2k
views
What character can be prepended to the front a file or folder name to move it to the bottom?
If we stick an ! character to the front of a directory name, it will be at the top of other directories when sorted.
Is there a character which has the opposite effect? Logically, a tilde (~) should ...
1
vote
2
answers
10k
views
Can CygWin 64 bits compile 32 bits sources?
I am trying to compile on CygWin 64 bits the (presumed) 32 bits wake on lan tool here created by Thomas Krennwallner, supposed to compile on Unix and Windows under CygWin.
After download I did:
...
0
votes
3
answers
452
views
Into what format do I need to reformat my External HardDrive for use in Mac OS X, Windows, Linux
Into what format do I need to reformat my External HardDrive for use in Mac OS X, Windows, Linux.
Also, can I have the differences of each partition format, I mean the advantages and disadvantages of ...
0
votes
1
answer
12k
views
Play internet video in external players (cross-platform)?
I have created a similar question on this on the ubuntu page. While that question was directed to a certain problem with adobe flash player in Linux, the answer that I found in the end is cross-...
1
vote
1
answer
914
views
Shared calendar across domains/devices
I'm trying to set up a shared calendar for my family, but it's harder then it seems.
The requirements are:
Private calendar: noone else can edit it.
It should sync between devices and be ...
0
votes
1
answer
510
views
Cross Platform Encrypted File Server / NAS?
I have a desktop computer running Windows and two Mac laptops. The desktop computer has two internal hard drives, both NTFS and both encrypted with TrueCrypt (yes, I know TrueCrypt is supposedly not ...
1
vote
1
answer
420
views
Derive vimfiles directory from runtimepath option
I want to set a $VIMFILES variable in my vimrc file to determine in a non-platform-specific way the file path of my vimfiles directory (a la How do I get Vim home directory?). This should be trivial (...
1
vote
1
answer
346
views
Unclear on making sense of all the command-line-interfaces (CLI)s out there, and when/why to use them
Some background, I am making the mental effort to start using command line interface for all my work, on Windows, Mac OSX, and LINUX systems. It is true that we have a lot more flexibility in the ...
1
vote
4
answers
5k
views
Watch a filesystem and rsync changes in a cross-platform way with minimal dependencies
I'd like to start a long-running Ruby or Python script, and have the script watch a local directory for changes to files and new files. Periodically, the script will trigger a one-way rsync to a ...
1
vote
1
answer
807
views
Restrictions for in-app purchasing across multiple platforms [closed]
I am developing a native iOS app that involves in-app purchasing of consumable digital goods. I am aware of the restrictions on building apps that try to circumvent the 30% commission that Apple takes ...
2
votes
2
answers
1k
views
Cross-platform daemon/service stop and start
Is there a tool which can control daemons/services in a cross-platform manner?
In programming there are different build tools that allow you to build software from source on different platforms; the ...