Answer the question
In order to leave comments, you need to log in
How can I build a binary for most platforms?
Hello. Perhaps the question is stupid. I'm still not sure that it should be asked completely without understanding the topic, but maybe everything will turn out to be a little easier ...
The point is the following. I'm writing a small javascript application for myself. It just so happened that javascript was not endowed with special abilities when it works "separately from the browser". Therefore, people use separate binaries of programs written in another language when some more functionality is needed. Right now I need the functionality of making screenshots. Googled the scrot app. And ... now I stumbled upon a problem. What if this program will not be in the user's OS? Then I need to put the binary in the folder with my application and execute it (it's very rough, it doesn't work like that, but the essence is the same). But if I just pull out scrot from my OS, then as I understand it, this will not be any guarantee at all that it will work on some other Linux? (or will it?) Is it possible to somehow compile the binary so that
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question