Everhart, Glenn From: JOHN MALMBERG [LNUSSAT.JMALMBER@eds.com] Sent: Thursday, September 17, 1998 3:35 PM To: Info-VAX@Mvb.Saic.Com Subject: Re: casel on VaxStation kth wrote: >... >I finally got access to progis, and downloaded the patch from there. >Installed it in gas 2.9.1 and tried to compile. (Used Linux to patch, >uploaded all files to vms, compile) >It tells me that 'seg_now' and 'subseg_now' are undefined, and dies. I checked my last build of the GAS - for VAX/VMS The Patch at the progis.de site is different than the one applied to my source. My guess is that it requires another patch that also has not made it into the main distribution. In module WRITE.C (Near top of module) /* 22-Jun-1998 J. Malmberg Patch from Klaus Kaempf to fix broken words ** not properly emited */ #include "as.h" (skip) New line 1523 placed above the old line. /* Patch from Klaus Kaempf to fix broken words not properly emited */ /*-----------------------------------------------------------------*/ subseg_change (SEG_TEXT, 0); Old line 1519 prevP = &broken_words ================================ In module OBJ-VMS.C (Near top of module) /* 12-Jun-1998 J. Malmberg create() for VMS needs "ctx=bin" */ (change line) VMS_Object_File_FD = create (out_file_name, 0, "rfm=var", "ctx=bin", "mbc=16", "deq=64", "fop=tef", "shr=nil"); ================== With out the ctx=bin, my VMS 5.5-2 system would not produce valid object formats. Curiously Klaus's binary GAS-VAX built with out it does, so it may be a version dependant thing. It looks like this is a difference from if you link with the DEC C RTL shared image or the VAX C RTL shared image. Both my DEC C and my VAX C manuals seem to imply that the "ctx=bin" is needed to prevent the file from being created in stream-LF mode. -John.