What's "porting software"?
I've not done much programming other than putting #INCLUDE <stdio.h> into a file called helloworld.h and write #INCLUDE helloworld.h and printf("hello world"); into a file called helloworld.c, and run cc helloworld.c, and then ./a.out (and even then I forgot a standard library), and some PHP (which I quite like) (I'm not very object-oriented, I'm more procedural)...
So as far as I know, a software that's programmed, if compiled for the target CPU/hardware, should work regardless of the operating system...
I'm talking a purely console-based program here...
But the reality is that software has to be ported... like my program would probably work on DOS, Windows, Linux, Solaris, BSD4.4, and FreeBSD, but more complex programs have to be ported from one operating system to another...
Why? If the libraries are all the same everywhere, and the principles that apply to my simple program above expand to fit libraries and stuff, howcome software has to be ported?
I've not done much programming other than putting #INCLUDE <stdio.h> into a file called helloworld.h and write #INCLUDE helloworld.h and printf("hello world"); into a file called helloworld.c, and run cc helloworld.c, and then ./a.out (and even then I forgot a standard library), and some PHP (which I quite like) (I'm not very object-oriented, I'm more procedural)...
So as far as I know, a software that's programmed, if compiled for the target CPU/hardware, should work regardless of the operating system...
I'm talking a purely console-based program here...
But the reality is that software has to be ported... like my program would probably work on DOS, Windows, Linux, Solaris, BSD4.4, and FreeBSD, but more complex programs have to be ported from one operating system to another...
Why? If the libraries are all the same everywhere, and the principles that apply to my simple program above expand to fit libraries and stuff, howcome software has to be ported?