🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #5000

Manx linker query

#5000
From: Francis.Gardner
Date: Fri, 24 Aug 1990 04:11
24 lines
1284 bytes
     I am aware that the Manx linker is capable of placing portions of a
 program into specified parts of memory.  What I am unsure about it how much
 "program" is put into these parts of memory.

 Does the position of the +c[cbd] (or +f[cbd]) in the command line affect
 which parts of the program are placed in memory?

 For example:
    I have a program that has a custom pointer.  The custom pointer lives in a
    file called (say) pointer.c which has been compiled to produce pointer.o.

    When I link my program with the following command line:

        ln myprog.o -lc +cd pointer.o

    Does all data from myprog.o and pointer.o get loaded into CHIP ram,
    or is it just the data in pointer.o ?
    What I want is to have only the data in pointer.o to be placed into
    CHIP ram.


  Thanks
  Francis
Technical Details
Message-ID: <9008240411.AA23167@barretts.comp.vuw.ac.nz>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!comp.vuw.ac.nz!root

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!comp.vuw.ac.nz!root
From: Francis.Gardner@comp.vuw.ac.nz
Newsgroups: comp.sys.amiga.tech
Subject: Manx linker query
Message-ID: <9008240411.AA23167@barretts.comp.vuw.ac.nz>
Date: 24 Aug 90 04:11:01 GMT
Sender: root@comp.vuw.ac.nz (The Superuser)
Organization: Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand.
Lines: 24
X-Mailer: mail-news 3.0