* Re: Dec Alph and VC++
1996-02-06 5:00 Dec Alph and VC++ Richard G. Vissers
@ 1996-02-06 5:00 ` Joseph Vigneau
1996-02-08 5:00 ` bruce
1996-02-08 5:00 ` Al Herb
1 sibling, 1 reply; 4+ messages in thread
From: Joseph Vigneau @ 1996-02-06 5:00 UTC (permalink / raw)
In article <4f6iqb$2hm@tkhut.sojourn.com>,
Richard G. Vissers <rvissers@sojourn.com> wrote:
>This may be a stupid question but is NT for the Dec Alpha a special flavor of
>NT or is it the same OS? If it's the same, then can the regular version of
>MS-VC++ run and compile programs for the Dec-Alpha?
It's a special flavor in that, yes, it is different from the Intel version
of NT: They won't run the same binaries. To answer your question, however,
get the Alpha version of MS-VC++. Just recompile your app. Unless you do
something Intel specific, porting is a snap (just rebuild on the Alpha...)
--
joev@wpi.edu WPI Computer Science '97 Linux!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Dec Alph and VC++
@ 1996-02-06 5:00 Richard G. Vissers
1996-02-06 5:00 ` Joseph Vigneau
1996-02-08 5:00 ` Al Herb
0 siblings, 2 replies; 4+ messages in thread
From: Richard G. Vissers @ 1996-02-06 5:00 UTC (permalink / raw)
This may be a stupid question but is NT for the Dec Alpha a special flavor of
NT or is it the same OS? If it's the same, then can the regular version of
MS-VC++ run and compile programs for the Dec-Alpha?
Thanks
Richard G. Vissers
rvissers@sojourn.com
Richard G. Vissers
rvissers@sojourn.com
http://www.sojourn.com/~rvissers/rgv.html\x1a
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Dec Alph and VC++
1996-02-06 5:00 ` Joseph Vigneau
@ 1996-02-08 5:00 ` bruce
0 siblings, 0 replies; 4+ messages in thread
From: bruce @ 1996-02-08 5:00 UTC (permalink / raw)
In article <4f76a7$iri@bigboote.WPI.EDU>, joev@pyramid.res.wpi.edu (Joseph Vigneau) writes:
> In article <4f6iqb$2hm@tkhut.sojourn.com>,
> Richard G. Vissers <rvissers@sojourn.com> wrote:
>>This may be a stupid question but is NT for the Dec Alpha a special flavor
>>of NT or is it the same OS? If it's the same, then can the regular version
>>of MS-VC++ run and compile programs for the Dec-Alpha?
>
> It's a special flavor in that, yes, it is different from the Intel version
> of NT: They won't run the same binaries. To answer your question, however,
> get the Alpha version of MS-VC++. Just recompile your app. Unless you do
> something Intel specific, porting is a snap (just rebuild on the Alpha...)
The Alpha NT will run the same 16-bit binaries for Windows and MS-DOS that
Intel NT will run; however it will not run the 32-bit binaries. Neither
will a compiler for an Intel box produce code that will run on the Alpha
(unless it can produce 16-bit code which will run in its emulation mode).
But you are right that you sort of have to go out of your way to find ways
for an app to work on Intel and not on the Alpha after a recompile; both
are little endien machines using IEEE floating point, for example. The
only things I've found while porting code between the platforms that can
lead to incompatibilities:
o Assembly code (Obviously :-). Also obviously, this is likely to
impact code that needs kernel mode, such as device drivers.
o Code that plays dirty tricks with varargs. If you use the standard
macros, everything is fine, but the macro expansions are quite
different on Intel and on Alpha, so if your code is at all aware
of what the varargs macros are doing "under the hood", you are
asking for trouble.
The two machines look amazingly alike when runing NT. The only way you
can tell them or the apps that run on them apart is the name on the box
and that the binaries on the Alpha are about twice as big because it's
RISC (but they often run faster for the same reason :-).
Bruce C. Wright
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Dec Alph and VC++
1996-02-06 5:00 Dec Alph and VC++ Richard G. Vissers
1996-02-06 5:00 ` Joseph Vigneau
@ 1996-02-08 5:00 ` Al Herb
1 sibling, 0 replies; 4+ messages in thread
From: Al Herb @ 1996-02-08 5:00 UTC (permalink / raw)
In article <4f6iqb$2hm@tkhut.sojourn.com>, rvissers@sojourn.com (Richard
G. Vissers) wrote:
> This may be a stupid question but is NT for the Dec Alpha a special flavor of
> NT or is it the same OS? If it's the same, then can the regular version of
> MS-VC++ run and compile programs for the Dec-Alpha?
>
> Thanks
> Richard G. Vissers
> rvissers@sojourn.com
>
> Richard G. Vissers
> rvissers@sojourn.com
> http://www.sojourn.com/~rvissers/rgv.html
Richard,
I'm a DEC reseller not one of their spokespersons. Identifying real Alpha
based NT solutions outside of marketing literature is a weakness that has
never been fully solved by anyone in particular. Therefore, your question
is not stupid.
Microsoft has Visual C for both Alpha and Intel. Both include the OpenGL
libraries. Applications written for NT are source code compatible between
Intel and Alpha (as well as MIPS). One need only purchase the correct MS
compilers from them and recompile on Alpha (or MIPS).
One not so obvious advantage of this is that a low budget company could do
SW development on a low cost PC that ultimately is targeted on a high
end RISC system that's source code compatible.
..Al
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-02-08 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-02-06 5:00 Dec Alph and VC++ Richard G. Vissers
1996-02-06 5:00 ` Joseph Vigneau
1996-02-08 5:00 ` bruce
1996-02-08 5:00 ` Al Herb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox