Message-ID: <3A2A318C.870D6363@halenet.com.au>
Date: Sun, 03 Dec 2000 21:42:04 +1000
From: Don Hansford
My understanding of the restrictions that Linus put on Linux was that was that a program on one linux operating system had to be compatible with another operating system.
He has said nothing about application programs that I know of. I have compiled a program with g++ compiler on suse linux and
transferred the executable to a server running rad hat linux. If I compile this source code on the server it works but if I compile the same source code on desktop and ftp up executable it does not work. Both machines running 586. I looked at the server executbale and it was 20k in size. The executable on my system was about 30k using the same source code. Is this incompatability my fault?
In a word, yes. The reason you get the source and compile it is so that
it "moulds" itself to your system. If you want a generic - run on any
distro - type program, get the statically linked one. It's much bigger,
but it includes all the libraries etyc that you may or may not have on
your system.
Also, RedHat has a reputation for doing things a "bit differently" to
other linux distros, so to expext something compiled under SuSE to run
on RH is drawing a bit of a long bow! :-)
--
This Email is 100% Virus Free!
How do I know? Because no Microsoft
products were used to generate it!
Regards Don Hansford
ECKYTECH COMPUTING/
SQIT Warwick