On Windows systems

  1. Create a file named amqsaxe.link containing the following:
     amqsaxe0.obj
     amqsaxe.exp
     mqm.lib mqmzf.lib
     msvcrt.lib oldnames.lib kernel32.lib user32.lib
    amqsaxe.def is provided.
  2. Compile the API exit source code:
     set myccflags=-c -W3 -Gs- -Z7 -Od -nologo -LD -D_X86_=1
     set mydefines=-DWIN32 -D_WIN32 -D_MT -D_DLL
     cl %myccflags% %mydefines% amqsaxe0.c
  3. Build the export file:
     lib -out:amqsaxe.lib  -def:amqsaxe.def  -machine:i386
  4. Link the output from the compilation:
     link -nod -nologo -debug:full -dll @amqsaxe.link -out:amqsaxe.dll