| delorie.com/archives/browse.cgi | search |
| Date: | Tue, 08 Oct 1996 08:43:52 +0000 |
| From: | Bill Currie <billc AT blackmagic DOT tait DOT co DOT nz> |
| Subject: | Re: Problem when assembling external function using "asmdefs.h" |
| To: | Matthew B Kennedy <q9522772 AT helios DOT usq DOT edu DOT au> |
| Cc: | djgpp AT delorie DOT com |
| Message-id: | <325A1448.386E@blackmagic.tait.co.nz> |
| Organization: | Tait Electronics NZ |
| MIME-version: | 1.0 |
| References: | <Pine DOT HPP DOT 3 DOT 95 DOT 961007232355 DOT 1559A-100000 AT helios DOT usq DOT edu DOT au> |
Matthew B Kennedy wrote:
> ===== COMPILATION COMMANDS ============
> [1] C:\DJGPP >gcc add.c add.s -o add ^ change to S (for preprocessed assembly)
> add.s: Assembler messages:
> add.s:6: Error: invalid character '(' in opcode
> add.s:7: Error: operands given don't match any known 386 instruction
>
> =======================================
>
> (Line 6 corresponds to the FUNC(__addint) line)
the two add modules might(?) cause you problems because you could get two (attempted) add.o files
(unless gcc uses generated names for the temp files)
Bill
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |