From: Sathyanarayanan on 3 Mar 2006 00:59 It works :-). Thanks Tim!! -- ++Sathya "Tim Roberts" wrote: > Sathyanarayanan <Sathyanarayanan(a)discussions.microsoft.com> wrote: > > > >1. When i compile this .asm file separately in makefile.inc (ml /c /Cx /coff > >/Fo$(O)\assembly.obj assembly.asm) it generates .obj, but I didn't know how > >to instruct BUILD utility to link this obj file along with my driver code - > >any inputs? > >2. Alternately, I tried to include this .asm file name under SOURCES macro > >in sources file, but NMAKE returns error "NMAKE : fatal error U1073: don't > >know how to make 'objchk_wnet_x86\i386\assembly.obj' > > > >How do I successfully link my driver code with this assembly? > > Create a subdirectory called i386. Move your "assembly.asm" into the i386 > subdirectory. Now, in your "sources", add: > > I386_SOURCES = i386\assembly.asm > > That's all it takes. Build will assemble and link it. > > The same thing works with: > > IA64_SOURCES = ia64\assembly.s > > AMD64_SOURCES = amd64\assembly.asm > -- > - Tim Roberts, timr(a)probo.com > Providenza & Boekelheide, Inc. > |