From: silkwodj AT my-dejanews DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem Linking NASM to DJGPP Date: Thu, 21 Jan 1999 19:57:27 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 9 Message-ID: <7880r1$4eo$1@nnrp1.dejanews.com> References: <69Jp2.52$9F6 DOT 158 AT nnrp2 DOT clara DOT net> NNTP-Posting-Host: 205.147.228.2 X-Article-Creation-Date: Thu Jan 21 19:57:27 1999 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 95) X-Http-Proxy: 1.0 x15.dejanews.com:80 (Squid/1.1.22) for client 205.147.228.2 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I'm not sure what an ELF is, but I've been having success by asking for the -o output directive. Are you sure you are declaring your functions as Global in NASM? Also if you are linking to C++ you either have to declare the functions as extern "C" in the C++ module, or mangle your function names in NASM. Matt Mastracci wrote an excellant tutorial on this. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own