[comp.sys.ibm.pc] How do I link Assembly routines with C?

LC.YRS@forsythe.stanford.edu (Richard Stanton) (12/06/89)

I recently downloaded a program off SIMTEL that was written in C,
and called two assembly language routines. The assembly code
contained the line

PUBLIC [names of routines]

but when I compiled the C program and tried to link it with the
object file from the .ASM code, I got a message telling me I had two
unresolved external references, even though the two names exactly
matched the names defined in the .ASM source.

What am I missing? I am using MS Quick C (v2), and MASM 3.0.

Thanks

Richard Stanton

pstanton@gsb-what.stanford.edu