From: ggerard AT flash DOT net (Gregory Gerard) Newsgroups: comp.os.msdos.djgpp Subject: coff to elf? any easy way? Date: Thu, 12 Mar 1998 21:33:29 -0800 Organization: Flashnet Communications, http://www.flash.net Lines: 14 Message-ID: NNTP-Posting-Host: paltc6-34.flash.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Is there any easy way to take a .o file compiled under djgpp and link it in with other elf libraries to form an elf executable? Especially when one of those elf libraries is the stdlib? I've noticed that an underscore is put in front of symbols in the coff-i386 file (objdump --syms tells me as much.) When I try objcopy -remove-leading-char (spelled correctly of course.), nothing happens. I'm thinking it it tries to guess what the common char is by seeing if every symbol leads with the same char. However, not all symbols in the coff-i386 have underscores leading them (.text shows up as a symbol in the elf-ified translation.) Help would be appreciated, greg