Date: Tue, 11 Aug 1998 08:43:30 +0300 (IDT) From: Eli Zaretskii To: "R. Brenner" cc: djgpp AT delorie DOT com Subject: Re: problem with using external NASM procedures In-Reply-To: <6qntq4$bl1$1@bw107zhb.bluewin.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 11 Aug 1998, R. Brenner wrote: > And of course I got errors (like with everything I do it seems). > asm.c: In function `main': > asm.c:13: parse error before `{' > asm.c: warning: unused variable `xpos' > > What's up now? Can't I use inline assembler in DJGPP? Yes, you can--if you read the docs first. You are trying to use inline assembly in a syntax that is totally different from what GCC accepts. (Inline assembly syntax is something very specific to each compiler.) The DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP) explains this issue in more detail in sections 17.1 and 18.13, and also gives pointers to more documentation on this subject.