🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51098

Seek help with building VMS POSIX executables using GCC

#51098
From: Kurt Klingbeil
Date: Wed, 30 Jun 1993 21:18
19 lines
1348 bytes
What special trick(s) are required to produce a VMS POSIX executable ?

Taking the trivial: main(){printf("Hello\n");}...

When compiled with standard GCC 2.2.2 headers and linked against VAXC RTL
one gets the expected result.

When compiled with the posix headers and linked against posix RTL (and
gcc's lib), and executed using:  posix hello.exe, I get an access
violation.

I haven't been able to figure out how to use VMS debug in conjunction
with posix, nor to figure out from the register/address dump exactly
where the violation occurs.

Any ideas/assistance would be much appreciated.

thx, kk
Technical Details
Message-ID: <kurtk.741475084@ee.ualberta.ca>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!ux1.cso.uiuc.edu!uwm.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!access.usask.ca!kakwa.ucs.ualberta.ca!ee.ualberta.ca!kurtk

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,a22577c44ff79378,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-06-30 14:53:59 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!ux1.cso.uiuc.edu!uwm.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!access.usask.ca!kakwa.ucs.ualberta.ca!ee.ualberta.ca!kurtk
From: kurtk@ee.ualberta.ca (Kurt Klingbeil)
Subject: Seek help with building VMS POSIX executables using GCC
Message-ID: <kurtk.741475084@ee.ualberta.ca>
Sender: news@kakwa.ucs.ualberta.ca
Nntp-Posting-Host: bode.ee.ualberta.ca
Organization: University Of Alberta, Edmonton Canada
Date: Wed, 30 Jun 1993 21:18:04 GMT
Lines: 19