From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem interfacing DJGPP with nasm. Date: Mon, 14 Apr 1997 01:01:49 -0700 Organization: Alcyone Systems Lines: 21 Message-ID: <3351E46D.45066FED@alcyone.com> References: <33514d69 DOT 222171 AT nntp DOT netcomuk DOT co DOT uk> <5ismc7$18i AT news DOT service DOT uci DOT edu> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp John Beppu wrote: > >extern void do_stars(void *screen, int no_of_stars, int *star_data, > >int *matrix); > >and these lines in the assembler file: > >[GLOBAL _do_stars__FPviPiPi] > >_do_stars__FPviPiPi: > > Since you wrote a C function, the function label ought > to be "_do_stars". That's about all you need to do, I > hope. Sounds like he needs to use extern "C" { ... }. -- Erik Max Francis, &tSftDotIotE / email / max AT alcyone DOT com Alcyone Systems / web / http://www.alcyone.com/max/ San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W \ "The future / is right there." / Bill Moyers