All righty, got a question here that I'm just really not too sure
about. I think I know the answer, but i've been unable to find the
answer yet. As I look through metalab at the various applications, I've
been wondering. Is the source code transportable between different CPU
types? As in, if I was to obtain an Alpha (god, I wish!) could I grab
any of the source packages and compile? I know the binary packages
would have to be Alpha specific, but what about the source packs? This
is all presuming that I had a working compiler on the Alpha. I know
that assembly is architecture dependent, but I am under the impression
that (properly written) high level languages such as C, C++, Ada95, etc
don't give a rat's patoot what CPU they run on.
Have I got the right idea, or am I just totally hosed here?
--
Mike Werner KA8YSD | "Where do you want to go today?"
ICQ# 12934898 | "As far from Redmond as possible!"
'91 GS500E |
Morgantown WV |
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU d-@ s:+ a- C++>$ UL++ P+ L+++ E W++ N++ !o w--- O- !M V-- PS+ PE+
Y+ R+ !tv b+++(++++) DI+ D--- G e*>++ h! r++ y++++
------END GEEK CODE BLOCK------