🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #110

VMS binaries

#110
From: Brad Keister
Date: Mon, 19 Jun 1989 16:57
31 lines
1446 bytes
I've been able to retrieve the gcc-vms binaries from prep.ai.mit.edu, but 
am having trouble with the executables which it generates.  The simple
"Hello, world." file runs fine with VAX C, but the gcc-vms package 
generates an executable which yields "access violation" error messages.  
Has anyone else seen this and/or know what to do about it?  We are running 
VMS 5.1 here.

GCC.VMS-GCC] $ ty hello.c
#include <stdio.h>

main()
{
      printf("Hello, world.\n");
}

GCC.VMS-GCC] $ gcc hello.c
GCC.VMS-GCC] $ link hello,sys$share:vaxcrtl/lib
GCC.VMS-GCC] $ r hello
Hello, world.
%SYSTEM-?-ACCVIO, access violation, reason mask=00, virtual address=0000000E,
PC=0000000E, PSL=00000004
GCC.VMS-GCC] $ link hello,gcclib/lib,sys$share:vaxcrtl/lib
GCC.VMS-GCC] $ r hello
Hello, world.
%SYSTEM-?-ACCVIO, access violation, reason mask=00, virtual address=0000000E,
PC=0000000E, PSL=00000004
GCC.VMS-GCC] $ cc hello.c
GCC.VMS-GCC] $ link hello,sys$share:vaxcrtl/lib
GCC.VMS-GCC] $ r hello
Hello, world.
GCC.VMS-GCC] $ 
Technical Details
Message-ID: <8906200128.AA06396@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!agate!ucbvax!tut.cis.ohio-state.edu!UINPLA.NPL.UIUC.EDU!KEISTER

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!agate!ucbvax!tut.cis.ohio-state.edu!UINPLA.NPL.UIUC.EDU!KEISTER
From: KEISTER@UINPLA.NPL.UIUC.EDU (Brad Keister)
Newsgroups: gnu.gcc.bug
Subject: VMS binaries
Message-ID: <8906200128.AA06396@life.ai.mit.edu>
Date: 19 Jun 89 16:57:00 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 31