🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #21201

gcc baserel tcsh etc (was Re: Virtual Memory on MultiTos)

#21201
From: Jason Baker
Date: Fri, 18 Dec 1992 19:12
32 lines
2368 bytes
In a previous article, ersmith@netcom.com (Eric R. Smith) says:

>In article <1992Dec16.043917.1193@cc.umontreal.ca> kosmatoo@JSP.UMontreal.CA (Kosmatos Odisseas) writes:
>>Another topic I was wondering about was whether MiNT (and thus MultiTos)
>>does the following: When a program is loaded, say program X. If the program
>>is loaded again in another window / by another user / by a background shell
>>script, will the operating system notice that it is already loaded and just
>>use the copy in memory (but having a local stack and program pointers)
>
>If the program was compiled so that it doesn't have any absolute
>references to data (e.g. it uses an address register as a base pointer)
>then this is possible. However, most programs cannot be so shared,
>because they do contain absolute references (and thus every copy of
>the program would share the same data and variables).
>
>(gcc can compile shared text programs if it is given the -mbaserel
>parameter)

	I was wondering what that meant.  The new mintlib readme metions 
-mpcrel (or something).  What does this mean; under what conditions will
gcc generate non-pc-relative code?  Does the new gcc support both shared 
and private data in the same program?
	I would also like to bother you about tcsh.  I have version 6.00.02,
and it doesn't complete dir names.  Is 6.02.00 available?  Also, would it 
be fairly simple to support threading and other options through shell_p?
And finally, how come tcsh needs such a huge stack?
-- 
"I dont want to erad this sick s**t what the hell is wrong with people who 
think theyre elves?"  I'm not sure which way to interpret that.
" I can type and I will not be judged by tping skills"
"cross yourself.  scream once more.  move yourself across the floor."
Technical Details
Message-ID: <1gt7r0INNhrd@usenet.INS.CWRU.Edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!cleveland.Freenet.Edu!an375
References: <1992Dec16.201905.2006@netcom.com> <1992Dec16.043917.1193@cc.umontreal.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!cleveland.Freenet.Edu!an375
From: an375@cleveland.Freenet.Edu (Jason Baker)
Newsgroups: comp.sys.atari.st
Subject: gcc baserel tcsh etc (was Re: Virtual Memory on MultiTos)
Date: 18 Dec 1992 19:12:32 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Lines: 32
Message-ID: <1gt7r0INNhrd@usenet.INS.CWRU.Edu>
References: <1992Dec16.201905.2006@netcom.com> <1992Dec16.043917.1193@cc.umontreal.ca>
Reply-To: an375@cleveland.Freenet.Edu (Jason Baker)
NNTP-Posting-Host: slc4.ins.cwru.edu