Operating System - OpenVMS
1820493 Members
2055 Online
109624 Solutions
New Discussion юеВ

Re: gnu patch and diffutils tools for IA64.

 
Jean-Fran├зois Pi├йronne
Trusted Contributor

gnu patch and diffutils tools for IA64.

I'm seeking for a port of the gnu patch and diffutils on IA64.
I have found various port on Alpha,
http://homepage.mac.com/craigberry/gnupatch.zip
http://homepage.mac.com/craigberry/gnudiffutils.zip
build without any problem on Alpha but fail on my Itanium box.

I probably only need patch and diff3 which are used by Mercurial (Distributed Source Control Management system).

Thanks,

JF
6 REPLIES 6
Steven Schweda
Honored Contributor

Re: gnu patch and diffutils tools for IA64.

> [...] but fail on my Itanium box.

Fail how?
Craig A Berry
Honored Contributor

Re: gnu patch and diffutils tools for IA64.

Hmm. I'm sure I've built at least diffutils from that kit on Itaniium without any great difficulty. I can't remember about patch. As Steven said, what particular failures do you see?

I'll just take a wild guess that the new MMS may be the thing most different about your build environment compared to what I tested several years ago when I produced those kits (same kits, BTW, as were on Freeware v5.0). Try MMK or an older version of MMS and/or post error messages.
Jean-Fran├зois Pi├йronne
Trusted Contributor

Re: gnu patch and diffutils tools for IA64.

C 7.2 was unable to compile some sources, for example getopt.c

After upgrading the C compiler from 7.2 to 7.3 and a few defined change, I was able to build gnupatch and difflibs tools.

I have put online a repository which contains the new versions:
http://hg.vmspython.dyndns.org/

Thanks,

JF
Martin Vorlaender
Honored Contributor

Re: gnu patch and diffutils tools for IA64.

JF (and Craig),

I have now found the time to look into these. I had no problems to compile and link both GNU diffutils and patch, starting from the Freeware CD distribution kits. I have not extensively tested the resulting images, though.

My compiler is HP C V7.1-011 on OpenVMS IA64 V8.3.

I append a compund diff file; you can see it mostly deals with conditionalizations in LINK.COM and DESCRIP.MMS.

cu,
Martin
Jean-Fran├зois Pi├йronne
Trusted Contributor

Re: gnu patch and diffutils tools for IA64.

Martin,

Thanks,

I have merge your update with mine.

You can browse the sources (and the patches) from the mercurial repository
http://hg.vmspython.dyndns.org/

It's strange that I have had to upgrade my C compiler to be able to compile some of the sources.

Anyways, I have versions of the tools working correctly.


JF
Steven Schweda
Honored Contributor

Re: gnu patch and diffutils tools for IA64.

Interested people with excessive time to kill
might wish to investigate:

http://antinode.org/ftp/diffutils/diffutils-2_8_1a_vms/

I've done no more testing than usual, and I
haven't tried building on anything older than
VMS Alpha V7.3-2, so no bets. It could be
better or worse than previously available
(older) kits. This one may not be any good,
but it's current.