Getting GCC via mail - ANSWER

Getting GCC via mail - ANSWER

Post by dfi.. » Sun, 13 Jun 1993 22:39:02



About a month or so ago I posted to this news group asking how go get
GCC for a VAX, but without having FTP access. Below is a summary of
how I got it installed, so perhaps this task will be easier for
others in the future (my process may also be somewhat more involved than
it has to, only because my VAX also does not talk to the Internet or
UUCPnet and I had to hop through three (3) systems, but it should give you
an idea of the steps necessary in a 'worst case').

My setup was :

        uVAX 2000, on the Ethernet running DECnet
        DOS PC, on the Ethernet running DECnet
        *nix PC, dial-up to UUCPnet, and UUCP to DOS PC

First, I received several personal replies (thanks to all !), however many
of the replies were pointing me to an FTP site which had the source. Since
the problem was that I did not have ANY C compiler, it was a bit of a
boot-strap problem.

Arne Vajhx pointed me to mango.rsmas.miami.edu, which actually has
VMSINSTALlable savesets. To retrive these files via UUCP, I had to use

as follows :

        binary
        uuencode
        connect mango.rsmas.miami.edu

        chdir /pub/VMS-gcc
        get <file>
        quit

where the distribution was actually composed of the following <file>s :

        gcc023.a_z gcc023.b_z gcc023.c_z gcc023.d_z gcc023.e_z gcc023.f_z

In addition, you also need to get LZDCMP.EXE, since these are LZH-compressed
files.

FTPMAIL will send you back MANY uuencode'd files; the worst one was *.d_z,
which came in thirty-six (36) parts ! These were send to my *nix system.
I stripped off the mail headers from each message, and cat'd the files from
each saveset together, and uudecode'd them.

I then UUCP'd these files (6 GCC* and LZDCMP, all uudecode'd) to my DOS
PC, and then copied them from the DOS PC to my VAX via NFT, using /BLOCK
and /IMAGE (Pathworks 4.1).

On the VAX, I then ran the GCC* files through LZDCMP :

        $ lzdcmp gcc023.n_z gcc023.n    - for each file, n = a-f

LZDCMP was smart enough to know how to make these files as VMS savesets
(fixed length records, in this case /BLOCK=8192) which I was able to
run VMSINSTAL.

Some notes :

FTPMAIL was not able to get more than 2 files at a time; anytime I sent a
request with more than 2 GET's I would always be returned an error about
'Lost connection ...'. Don't know whether this is a because I over-ran
some limit on the number of files/bytes that could be transferred in a
single request, or whether it was just a lack of reliability of the FTP
connection.

It typically seemed to take about two (2) days to get a response from
FTPMAIL. This was to NY.

The GCC files are compressed with a VMS-specific utility, and you MUST get
LZDCMP.EXE to de-compress these files. The standard *nix uncompress, as
well as the GNU uncompress, will NOT work. In addition, LZDCMP.EXE knows
about RMS file attributes.

Regards,

Dave.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

=   ColorNet Information Systems  CIS    : 76430,3111                       =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=    If David Cutler had been a heavy drug user in the 60's, he probably    =
=                    would have written Unix instead ...                    =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

 
 
 

1. Getting a new mail message - but no mail!!



This is in the FAQ, but the solution is type READ/NEW at the MAIL prompt
after you've read all your mail, which will reset the newmail counter.

The reason you're seeing this behavior is the new mail counter is
maintained in a separate file from your mail itself and they got out of
sync.

-Dan Wing

2. multh-threaded app - missing dce header file

3. VMS-MAIL - %MAIL-E-USERSPEC when sending via MRGATE...

4. ISDN and ISP

5. GCC/GCC+ for Alpha?

6. Entering Stock 'Buy's in Money98

7. Mail 'Answering Machines' needed

8. Question: Alarm in Action Names 4.53

9. Automating MAIL/EDIT - an answer

10. Automatic mail-answer.

11. DEC Mail Utility Madness (Summary of answers)

12. problem newmail folder getting converted to mail folder