* NFS from VMS, compiling on UNIX ?
[not found] ` <11OCT199417563470@tgv.com>
@ 1994-10-13 16:51 ` Wayne Scott
0 siblings, 0 replies; 2+ messages in thread
From: Wayne Scott @ 1994-10-13 16:51 UTC (permalink / raw)
Hi Folks:
On a related issue, with a slight branch in the thread...
is anyone compiling C code, NFS-mounted from VAX/VMS, on a UNIX box ?
I've heard of many folks keeping source on a UNIX platform and
compiling it on VMS. But I have a need to do the opposite because
we're starting cross-platform development with an embedded base
of code on VAX/VMS.
Our embedded source is on VMS, but we don't have it NFS-mounted
to our SUNs yet. I'm trying anticipate potential problems. When I ftp
into VMS and do "ls," it shows the VMS naming conventions, like :
login.com;65
login.com;64
login.com;63
login.com;62
login.com;61
login.com;60
I wonder, how are .c files going to look when I do "make" on the SUN?
Thanks,
Wayne
--
----------------------------------------------
wws@cc.bellcore.com
I'm just a soul whose intentions are good,
Oh Lord, please don't let me be misunderstood.
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: NFS from VMS, compiling on UNIX ?
[not found] <9410141305.AA22517@uu3.psi.com>
@ 1994-10-14 21:52 ` Wayne Scott
0 siblings, 0 replies; 2+ messages in thread
From: Wayne Scott @ 1994-10-14 21:52 UTC (permalink / raw)
Hi Folks:
I am happy to report that today I had some successes with
NFS-mounting VMS files and compiling a test program on a SUN.
Here are some details (using Digital's UCX) :
VMS area was: DISK$BUILD_WORK:[BUILD.800_7-0_TEST.WORK].
The VMS/UCX product had to be configured to make files available,
and the MOUNT service enabled:
==============================================================================
SCP,70MGR-CP0204:; ucx sho export
File System Host name
/vmsfiles/nfs *
/workdisk/build/scp_7-0_base/work MICROJET
-------------------------------------
SCP,70MGR-CP0204:; ucx sho serv mount
-------------------------------------
Service Port Proto Process Address State
MOUNT 10 UDP UCX$NFS 0.0.0.0 Enabled
==============================================================================
On the SUN, a mount was done from the root login (using a shell):
==============================================================================
VMS_C4=/home/cp0204
VMS_C4_BASE_WORK=/workdisk/build/scp_7-0_base/work
umount -v ${VMS_C4}
mount -tv nfs cp0204:${VMS_C4_BASE_WORK} ${VMS_C4}
mount -p
..
cp0204:/workdisk/build/scp_7-0_base/work /home/cp0204 nfs rw 0 0
==============================================================================
A UNIX "ls" in "/home/cp0204" shows the VMS "SCP_WORK" directories.
A directory called "WWS_SUN.DIR;1" was created on VMS (had to use "70MGR"
because of permissions). Then from the SUN, I could "cd wws_sun" and use
vi to create a file (I called it "i_hope_this_works.c").
From VMS, I could "TYPE I_HOPE_THIS_WORKS.C" and read the contents just fine.
Then I added some code:
====================================================================
/*
Let's see if we can edit with EVE on VMS okay...
*/
main ()
{
printf("this program was created on VMS!!! \n");
}
====================================================================
This compiled and linked on the SUN, and stored the executable
as "a.out" (UNIX convention if not specified) on Cluster 4 as A.OUT;1.
I ran it on the SUN with no problems.
====================================================================
[wws@microjet] a.out
this program was created on VMS!!!
[wws@microjet]
====================================================================
It looks like NFS handles the job just fine. Amazing.
Wayne
--
-------------------------------------------------------------
wws@cc.bellcore.com
Anyone looking for VAX/VMS/C work ? We have plenty to do on:
Clusters, Workstations (SUN,DEC), X/Motif/Galaxy.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-10-14 21:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <9410141305.AA22517@uu3.psi.com>
1994-10-14 21:52 ` NFS from VMS, compiling on UNIX ? Wayne Scott
[not found] <matt.finger.19.0548E71A@healthpartners.com>
[not found] ` <11OCT199417563470@tgv.com>
1994-10-13 16:51 ` Wayne Scott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox