Re: how to link compiler logical from mmk

[email protected] ("John E. Malmberg")
Newsgroups perl.vmsperl
Message-ID <[email protected]>
purnima bhandari wrote:
> Hi,
> 
> I am trying to build a perl5.10.0 using MMK.
> I am linking against the 8.3 decc$shr on a 7.3-2 system.
> Compiler virsion of the & 7.3-2 is below.
> $ cc/ver
> DEC C V5.7-006 on OpenVMS Alpha V7.3-2
> $

That operation is likely to fail.

To build Perl on an older version of VMS and link against a newer CRTL 
is going to result in the same as if you linked against the older version.

It is a very complex setup that you need to build against a later set of 
libraries.  I know because I used to do it routinely when I worked for 
HP in the VMS Engineering group.

> For compiling the perl5.10.0 i need minimum DECC v6.0.

The compiler version and the runtime library version have nothing to do 
with each other.

I have not heard of any reports that DECC 6.x is needed to build Perl.

HP/DEC C 7.x is now the current releases, which would be what would be 
recommended for use on VMS 8.3.

> By defining the logical with new compiler i am  getting  crash because the
> mmk is not inheriting either symbols or logical names from the parent
> process. At command prompt the file is getting compiled with the logical
> defined.. So I need to include the process of calling .com file which
> defines the compiler logical in mmk.

You obviously do not understand the VMS environment yet well enough to 
realize that what you are asking for help on has nothing to do with what 
you say you are trying to do.

So even if we were able to tell you how to do the steps you asked, the 
end result will still be useless to you.

That is unless we ignore what you are asking and happen to guess right 
on what you really need.  And it is not likely that we are that good at 
guessing.

> *how can I add my own command file to be called from mmk?

Now what are you really trying to do and why?

Is this for a business use?

I am sorry that I can not be of more help.  I do not have a listing of 
the many steps needed to do the type of build that you are asking for, 
and it would probably take me quite a while to create and test them.

I also do not have the time to provide such high level consulting for free.

Current employment contracts prevent me from selling such consulting, 
but there may be other people available that are monitoring this list or 
the Perl jobs mailing list.


-John
[email protected]
Personal Opinion Only
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.