[net.eunice] Linking Eunice programs

custead@sask.UUCP (Der cuss) (09/06/84)

We are running Eunice 3.2 and have a need to transport a program
developed under Eunice to a vanilla VMS system.  According to
the manual this is accomplished by using cc or ld with '-noshare'.
The program in question is a large symbolic algebra program written
in C.  When compiled normally  (i.e.  cc *.c), it happily runs
all of its test files.

The '-noshare' seems to work with small programs we tried, but
when we ran this large program after linking with '-noshare', we got an
immediate access violation.

We then tried
	$ link a.obj,b.obj,...,lib:libc/lib

The resulting executable runs MOST of the test files happily, but
gives an access violation part way through a few of them.
(We also tried linking with noP0bufs, the result was the same.)

Can anyone suggest an alternative to the VMS link command above,
or something else we can try to allow us to build this program
and move it to a non-Eunice machine.
Also curious about exactly what link command vmsld builds when
you say -noshare.  (We don't have sources.)