Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* How do I compile code on an Alpha with NT
@ 2001-08-16 20:44 James Haley
  2001-08-16 20:51 ` Hoff Hoffman
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: James Haley @ 2001-08-16 20:44 UTC (permalink / raw)


Hey,
    I have an older Alpha multia 166Mhz (yeah yeah, laugh all you want)
running NT workstation that I want to compile some C code on, but I have no
software for this.  I was looking to see what I could find to do this and a
friend recommended gcc.  I found a copy of what looks to be the Alpha NT
version, but I have not had a chance to test it yet.  I basically need be
able to optimize the code for the 64-bit chip as this may be running on
several Alpha NT servers as a service.  FX!32 is probably not an option as
the servers are not mine.  Any subjections besides a variation of "go fly a
kite?"
    BTW, I have no experience with coding at all, and this is me going out
on my own to show my initiative at work.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How do I compile code on an Alpha with NT
  2001-08-16 20:44 How do I compile code on an Alpha with NT James Haley
@ 2001-08-16 20:51 ` Hoff Hoffman
  2001-08-16 21:18 ` Graham Donovan
  2001-08-20  0:43 ` bad bob
  2 siblings, 0 replies; 4+ messages in thread
From: Hoff Hoffman @ 2001-08-16 20:51 UTC (permalink / raw)


In article <3b7c309f$1$331$682962f4@newsreader.iaxs.net>, "James Haley" <jhaley@intellops.com> writes:

:    I have an older Alpha multia 166Mhz ...
:running NT workstation that I want to compile some C code on...

  Not the answer you might want, but a potential alternative...

  You can get a free set of hobbyist licenses for OpenVMS and many
  products, and a hobbyist distribution kit for a small fee.  Compaq
  C is one of the products. 

  The OpenVMS FAQ has pointers with details of how to run OpenVMS on 
  the Multia, and pointers to the OpenVMS hobbyist program.

  A central problem you will have here with your current approach is the 
  availability of the necessary software -- Microsoft support for Windows 
  NT on Alpha was retired some time ago.  The OpenVMS (and Tru64 UNIX) 
  software and products are readily available through the hobbyist programs.


 ---------------------------- #include <rtfaq.h> -----------------------------
      For additional, please see the OpenVMS FAQ -- www.openvms.compaq.com    
 --------------------------- pure personal opinion ---------------------------
   Hoff (Stephen) Hoffman   OpenVMS Engineering   hoffman#xdelta.zko.dec.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How do I compile code on an Alpha with NT
  2001-08-16 20:44 How do I compile code on an Alpha with NT James Haley
  2001-08-16 20:51 ` Hoff Hoffman
@ 2001-08-16 21:18 ` Graham Donovan
  2001-08-20  0:43 ` bad bob
  2 siblings, 0 replies; 4+ messages in thread
From: Graham Donovan @ 2001-08-16 21:18 UTC (permalink / raw)
  To: James Haley

In my understanding, it all depends on what you mean by 'optimize.' In my
experience with Tru64 and linux on axp, it would be a stretch to say that
gcc excells at that task, at least when compared with the compaq
compilers. However, the binaries produced by gcc aren't bad - they just
aren't that good. I have absolutely no idea how well the MS VC axp
compiler performs. I suspect that none of this is particularly relevant,
though. If you're running NT on your alphas, then the compiler vs compiler
performance differences aren't likely to be anything more than you're
already suffering by using NT. Use gcc, or VC axp if you can get your
hands on it.

--------------------------------------------------
Graham Donovan
nospam.graham37@u.washington.edu
On Thu, 16 Aug 2001, James Haley wrote:

> Hey,
>     I have an older Alpha multia 166Mhz (yeah yeah, laugh all you want)
> running NT workstation that I want to compile some C code on, but I have no
> software for this.  I was looking to see what I could find to do this and a
> friend recommended gcc.  I found a copy of what looks to be the Alpha NT
> version, but I have not had a chance to test it yet.  I basically need be
> able to optimize the code for the 64-bit chip as this may be running on
> several Alpha NT servers as a service.  FX!32 is probably not an option as
> the servers are not mine.  Any subjections besides a variation of "go fly a
> kite?"
>     BTW, I have no experience with coding at all, and this is me going out
> on my own to show my initiative at work.
>
>
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How do I compile code on an Alpha with NT
  2001-08-16 20:44 How do I compile code on an Alpha with NT James Haley
  2001-08-16 20:51 ` Hoff Hoffman
  2001-08-16 21:18 ` Graham Donovan
@ 2001-08-20  0:43 ` bad bob
  2 siblings, 0 replies; 4+ messages in thread
From: bad bob @ 2001-08-20  0:43 UTC (permalink / raw)


James Haley wrote:
> 
> Hey,
>     I have an older Alpha multia 166Mhz (yeah yeah, laugh all you want)
> running NT workstation that I want to compile some C code on, but I have no
> software for this.  I was looking to see what I could find to do this and a
> friend recommended gcc.  I found a copy of what looks to be the Alpha NT
> version, but I have not had a chance to test it yet.  I basically need be
> able to optimize the code for the 64-bit chip as this may be running on
> several Alpha NT servers as a service.  FX!32 is probably not an option as
> the servers are not mine.  Any subjections besides a variation of "go fly a
> kite?"
GCC is not optimized for alpha.  Hoff provided some insight in a way
that
might help.  Your intentions are not clearly stated, but let me provide
a couple of comments.
You say compile c code on NT.  Is this a standalone app or function?
is it tightly tied to NT?  You say say NT, but you don't say which
version. There are versions of 4.0 and 2K (yeah 2k is nt in my 
world).  I believe there are 3.51 versions of NT that run on
alpha also.  
What is your intention? C code to do something on NT? gcc is ok
for that, but forget optimization.  C code on alpha, optimized
for what? Speed? functionality? portablity?  Is this code 
always going to run on an alpha (kind of implied)? what
variant of alpha? there are different optimizations for diff cpus.

Now, that is not meant to discourage you at  all, if it does,
I apologize, I am intending to make sure you understand you
have not given us readers much to go on.

Your mention of fx32 is confusing - fx32 talkes intel code and 
does a bit of magic to make it run faster on alphas.
Hope this helps! bob
>     BTW, I have no experience with coding at all, and this is me going out
> on my own to show my initiative at work.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-08-20  0:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-16 20:44 How do I compile code on an Alpha with NT James Haley
2001-08-16 20:51 ` Hoff Hoffman
2001-08-16 21:18 ` Graham Donovan
2001-08-20  0:43 ` bad bob

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox