From: "Aidan Ruff" Newsgroups: comp.os.msdos.djgpp Subject: Assembler files - linking in external routines Date: Wed, 14 Jan 1998 13:04:35 -0000 Message-Id: <884782637.9007.0.nnrp-04.c2deaf3c@news.demon.co.uk> Nntp-Posting-Host: butca.demon.co.uk Lines: 41 To: djgpp AT delorie DOT com Dj-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Precedence: bulk I have a program which uses an assembler file (some interrupt stuff). It generates a wrapper for a C routine in my main program - called 'irq'. When I compile a little test program it links fine, but when I use it with my main project it doesn't resolve the 'irq' function and can't link. eg void irq (void) { ... code } main () { ....code } .extern _irq _irq proc ..etc I guess that the compiler is screwing up the labels. I imagine that there is a compiler setting wrong, but where? If I could generate some assembly output from the compiler, I could have a look at it, but I can't figure out how to do that. Help!