Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!udel!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!ml10+ From: ml10+@andrew.cmu.edu (Michael A. Libes) Newsgroups: comp.sys.mac.programmer Subject: MPW 3.1 and stand-alone code Message-ID: Date: 7 Nov 90 19:33:52 GMT Organization: Class of '91, Carnegie Mellon, Pittsburgh, PA Lines: 19 I'm writing an adev to implement a network device. I wrote the adev rsrc in Assembly and it works fine. I'm writing the atlk rsrc in Assembly and C and can't get it to link. The entry point has to be in Assembly, but I don't want to write the whole thing in Assembly, so I do some calls to C functions. The problem comes at link time. If I include the Runtime.o library I get: "Data intialization not called..." If I remove that library I get: "No data intialization routine..." What is the correct way to link this code resource? ------------------------------------------------------------------ Michael Libes (Luni) Internet Address: MacMach Project ml10@andrew.cmu.edu Carnegie Mellon University ------------------------------------------------------------------