Xref: news2.mv.net comp.os.msdos.djgpp:942 From: KendallB AT scitechsoft DOT com (Kendall Bennett) Newsgroups: comp.os.msdos.djgpp Subject: DJGPP and TASM? Date: Sat, 10 Feb 1996 20:20:05 GMT Organization: SciTech Software Lines: 41 Message-ID: <4fiuob$5fq@jobes.sierra.net> Reply-To: KendallB AT scitechsoft DOT com NNTP-Posting-Host: 204.94.236.17 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Hi All, Finally DJGPP 2.0 is out, so I have decided once again to dredge up all my DJPP stuff and try to get our products ported across to DJGPP V2. However the catch is that we have *lots* of assembler code in our products (ove 40,000 lines in the MGL for DOS graphics library) and all this assembler is written with TASM. Since we have no intention of porting all this assembler code to GAS, the only option is a conversion tool that will convert between TASM's .OBJ format and the GNU .o COFF format. One such tool that I have used with moderate success is the EMXAOUT program developed by Eberhard Mattes (of EMX for OS/2 and DOS fame), but this has problems with fixups for private global variables that are declared in the assembler module, but not made publicly available (actually any global declared in the assembler module). If the globals are declared in the C code, and referenced as external's in the assembler code then everything works fine. So my quesiton is, has anyone had any experience with converting .OBJ files to .O files (I know there is another program developed by a demo coder, but it has similar problems and also has some funky licensing restrictions)? I would like to try and get EMXAOUT fixed if possible, since it would make an excellent addition to the DJGPP suite of tools (and the sources are GPL'ed from memory). If we can get this working, then we will be able to port all our companies development tools across to DJGPP (PM/Pro library, Zen Timer, SuperVGA Kit, MGL graphics library etc). Please post followups to this group. +--------------------------------------------------------------------------+ | SciTech Software - Building Truly Plug'n'Play Software! | +--------------------------------------------------------------------------+ | Kendall Bennett, Software Engineer | Email: KendallB AT scitechsoft DOT com | | SciTech Software USA | Fax : (916) 894 9069 | | 5 Governors Lane, Suite D | ftp : ftp.scitechsoft.com | | Chico, CA 95926, USA | www : http://www.scitechsoft.com | +--------------------------------------------------------------------------+