Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!snorkelwacker!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!svin02!eba!wjw From: wjw@eba.eb.ele.tue.nl (Willem Jan Withagen) Newsgroups: comp.sys.apollo Subject: Re: Inlib'ing on SR10.1/2 Message-ID: <610@eba.eb.ele.tue.nl> Date: 7 Sep 90 09:12:26 GMT References: Sender: news@eba.eb.ele.tue.nl (The News system) Organization: Eindhoven University of Technology, The Netherlands Lines: 23 In article nick@mucs6.cs.man.ac.uk (Nick Filer) writes: >Has anybody out there managed to produce libraries of routines which >can be inlib'ed on SR10. Both we and the HP Response Center (ref >E1487117) in the UK have been trying to find a way. We have tried both >SR10.1 and SR10.2 machines using both "bind" and "ld" with suitable >incantations which either worked on previous versions (e.g. SR9.7) or >are attempts to understand the manual pages. I guess taht not everybody real a whole manual before the're going to (re)implement something they did before. But the answer is in the manual. But you have to know where to look! Since OS10.2 does a compiler generate absolute code, whilest it generated pic (position independant code) before we went to more *REAL* unix. And here's your problem, libraries for inlib require 'pic'-code. This is only one switch on the compile command, see the C-manual on page 6-39 Succes, Willem Jan Withagen. Eindhoven University of Technology DomainName: wjw@eb.ele.tue.nl Digital Systems Group, Room EH 10.10 BITNET: ELEBWJ@HEITUE5.BITNET P.O. 513 Tel: +31-40-473401 5600 MB Eindhoven The Netherlands