Date: Tue, 08 Oct 1996 08:43:52 +0000 From: Bill Currie Subject: Re: Problem when assembling external function using "asmdefs.h" To: Matthew B Kennedy Cc: djgpp AT delorie DOT com Message-id: <325A1448.386E@blackmagic.tait.co.nz> Organization: Tait Electronics NZ MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: 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