delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/23/10:12:56

Date: Tue, 23 Jun 1998 16:10:34 +0200 (MET DST)
Message-Id: <199806231410.QAA09228@sol2.tvd.be>
From: Eric Devolder <eric DOT devolder AT eft DOT be>
To: djgpp AT delorie DOT com
Subject: as error message when trying to recompile djgpp lib

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019