From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp Subject: Re: Linking DJGPP programs with MASM generated COFF files Date: Thu, 15 Mar 2001 22:10:56 -0500 Lines: 35 Message-ID: <98s05p$371i3$1@ID-57378.news.dfncis.de> References: <98ra9f$9rh$1 AT jake DOT esu DOT edu> <98rl6g$3922o$1 AT ID-57378 DOT news DOT dfncis DOT de> <3AB15DC4 DOT 6B81F6A2 AT uol DOT com DOT br> NNTP-Posting-Host: 209-130-137-150.nas3.roc.gblx.net (209.130.137.150) X-Trace: fu-berlin.de 984712186 3376707 209.130.137.150 (16 [57378]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Cesar Rabak" wrote in message news:3AB15DC4 DOT 6B81F6A2 AT uol DOT com DOT br... > "Alexei A. Frounze" wrote: > > > > AFAIK, MASM generates different type of COFF which is not same as supported > > Although there is a reported glitch (pls see a msg from Lawrence Rust > lvr AT softsystem DOT co DOT uk, posted in this NG in January, in the last week of > January), COFF files generated by MASM work with DJGPP. Why to use something you're not sure in? :) As for NASM, it's easy: - make asm source (make sure you read NASMDOC.* and know what you do because NASM and MASM are not same -- syntax is a bit different) - don't forget underscores in ASM subroutines' names - make ASM subroutines GLOBAL (similar as PUBLIC in MASM) - compile ASM - link together with compiled C stuff Or you may make a project in RHIDE, include all C and ASM sources there and push F9 which is much more easier. Good Luck -- Alexei A. Frounze alexfru [AT] chat [DOT] ru http://alexfru.chat.ru http://members.xoom.com/alexfru/ http://welcome.to/pmode/ > > Cesar