CompuServe Thread

Forum unknown · Programming

#Linking C & Assem Files

1 messages in this thread
#12825From: Fred KohlerMar 27, 1986 12:39 AM
Help! I am trying to write a printer driver using Aztec-C and Amiga Macro Assembler. What I have done thus far is write the ".c" and ".asm" files, compile the ".c" files with Aztec-C, and assemble the ".asm" files with Amiga Macro Assembler. When I try to link the Aztec-C object files with the Macro Assembler object files I get an error message stating that there is invalid object code in the Aztec-C object files. I noticed that there is a file in the lib directory on the Macro Assembler disk called Astartup.obj which is the "Amiga startup file to be used when linking both C and Assem programs together." How do I incorporate this file into the linking process (there are no instructions on how to do this in the documentation that came with Macro Assembler)? I have the commercial version of Aztec-C and version 1.0 of the Amiga Macro Assembler. If anyone can help me out with this problem, please leave me a message in this SIG or on EasyPlex. Thanks. — Fred Kohler 75365,1460 —