Article View: gnu.gcc.help
Article #51989Re: _NOSHARE hack for VMS
From: Bob Pasker
Date: Fri, 05 Mar 1993 22:45
Date: Fri, 05 Mar 1993 22:45
21 lines
1046 bytes
1046 bytes
eric@tantalus.nrl.navy.mil (Eric Youngdale) writes:
>expand the macro by hand. You need something like:
> char * foo[BAR] __asm("_$$PsectAttributes_NOSHR$$foo");
thanks for the ponter :-)
here's what i did that worked:
OD odList[MAX_OPTIONS+1] __asm("_$$PsectAttributes_NOSHR$$" "odList");
i compiled:
#include "gcc_hacks.h"
int _NOSHARE(foo);
and looked at the .cpp file.
--
--
-- bob pasker
-- rbp@netcom.com
--
Technical Details
Message-ID:
<1993Mar5.224546.26077@netcom.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!olivea!decwrl!netcomsv!netcom.com!rbpReferences:
<1993Mar5.173401.1319@netcom.com> <9303051917.AA21284@tantalus.nrl.navy.mil>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,314e15fe7f2ec97a X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-03-06 00:49:29 PST Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!decwrl!netcomsv!netcom.com!rbp From: rbp@netcom.com (Bob Pasker) Newsgroups: gnu.gcc.help Subject: Re: _NOSHARE hack for VMS Message-ID: <1993Mar5.224546.26077@netcom.com> Date: 5 Mar 93 22:45:46 GMT References: <1993Mar5.173401.1319@netcom.com> <9303051917.AA21284@tantalus.nrl.navy.mil> Distribution: gnu Organization: Netcom - Online Communication Services (408 241-9760 guest) Lines: 21