Mail Archives: djgpp/1998/06/23/10:12:56
Help please!
I try to recompile the standard libraries of djgpp, but
I get problems when compiling assembly files. I do have all the
sources, development tools, etc.
The error is the same for each module containing the FUNC() macro:
(the following lines are extracted from makefile output)
as -o d0000.o d0000.s
d0000.s: Assembler messages:
d0000.s:4: Error: invalid character '(' in opcode
d0000.s:5: Error: operands given don't match any known 386 instruction
d0000.s:8: Error: invalid character '(' in opcode
make.exe: *** [d0000.o] Error 1
Compilation finished at Tue Jun 23 14:40:18
The module here is d0000.s:
---------
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include "dpmidefs.h"
FUNC(___dpmi_allocate_ldt_descriptors)
ENTER
movl ARG1, %ecx
DPMI(0x0000)
movzwl %ax,%eax
LEAVE
----------
I've tried to compile manually with gcc and as. The file dmpidefs.h
includes <libc/asmdefs.h>, which contains the macro.
Can someone help me please ?
Thank you :)
Eric Devolder
- Raw text -