os-detection Questions

14

Solved

I routinely work on several different computers and several different operating systems, which are Mac OS X, Linux, or Solaris. For the project I'm working on, I pull my code from a remote git repo...
Matrimony asked 3/4, 2009 at 14:16

3

I was wondering why javascript os detection techniques like navigator.userAgent, navigator.appName, navigator.appVersion and navigator.platform are in process of being dropped from web standards. ...

22

Solved

I would like to keep my .bashrc and .bash_login files in version control so that I can use them between all the computers I use. The problem is I have some OS specific aliases so I was looking for ...
Airla asked 26/12, 2008 at 20:27

5

Solved

I would like to have the same Makefile for building on Linux and on Windows. I use the default GNU make on Linux and the mingw32-make (also GNU make) on Windows. I want the Makefile to detect whet...
Harding asked 30/10, 2010 at 13:13

3

Solved

If there's some cross-platform C/C++ code that should be compiled on Mac OS X, iOS, Linux, Windows, how can I detect them reliably during preprocessor process?
Reverend asked 7/5, 2011 at 8:37

1

Solved

Right now I'm forced to resort to using uname to get the operating system name and it works. But in bash there is the OSTYPE environment variable that is automatically set and I was wondering if th...
Longlongan asked 8/10, 2014 at 13:33

5

I've spent a day on and off Googeling for this; no luck so far. How can I get the users OS and version. Mine would me Mac OS X 10.6.4, the spare PC in the office would be Windows XP SP3. You see w...
Winfordwinfred asked 9/8, 2010 at 16:1

2

Solved

Is there a way to know in makefiles if GNU make is running on a linux OS or a windows OS? I've built a bash script that generates a makefile for building my app and it works fine on my Debian mach...
Selie asked 24/10, 2011 at 14:5

7

Solved

I'm running Ubuntu 8.04 and I recently received the following error when visiting a website: Please return to www.site.com with a computer running Windows 98, 2000, Me, NT, or XP. How does th...
Bridegroom asked 30/12, 2009 at 2:43
1

© 2022 - 2024 — McMap. All rights reserved.