www.delorie.com/archives/browse.cgi | search |
From: | "Tom Hunt" <thunt1 AT falcon DOT lhup DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Linking DJGPP programs with MASM generated COFF files |
Date: | Thu, 15 Mar 2001 15:57:25 -0500 |
Organization: | East Stroudsburg University, Pennsylvania |
Lines: | 13 |
Message-ID: | <98ra9f$9rh$1@jake.esu.edu> |
NNTP-Posting-Host: | thunt1.lhup.edu |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.50.4133.2400 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
I'm trying to get djgpp C program to compile using a function I wrote in assembler. The assembler output file is in coff format like it should be, but gcc won't recognize the existence of the function in the assembler module. I keep getting unresolved externals during the link when I try calling the thing. Info didn't seem to have anything on the subject of linking external assembler objects into C programs, neither did my assembler textbook from school. Does anybody know what the requirements are for interfacing between an external COFF file generated by an assembler and a C/C++ source file?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |