🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Bob Pasker Wed, 27 Jan 1993 20:09
linking shareable images on VAX/VMS with GCC
#895
Author: Bob Pasker
Date: Wed, 27 Jan 1993 20:09
24 lines
1170 bytes
i am trying to link a sharable image with an OBJ from a GCC-compiled
program.  

the problem i run into is that i cannot seem to make some module-level
variables have the "noshare" psect attribute, which those of you who
have read this far will undoubtably understand the implications. 

with the vax-c compiler i simply say:

	noshare int foobar.


of course, i could define the psect options in a linker options file,
but that seems like the long way around.

there seem to be some things in <gnu-hacks.h> which will solve the
problem, but i cannot seem to make them work and the info files are
less than clear on the subject.  would some kind soul please enlighten
me?
-- 
-- 
-- bob pasker
-- rbp@netcom.com
--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads