From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: MGL graphics library problem Date: Thu, 27 Mar 1997 12:32:18 +0100 Organization: TU Chemnitz-Zwickau Lines: 44 Message-ID: <333A5AC2.149D@Mathematik.tu-chemnitz.de> References: <3339DBF9 DOT 11C4 AT eunet DOT cz> NNTP-Posting-Host: process.hrz.tu-chemnitz.de 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 Michal Mertl wrote: > > I think he is talking about emx2aout.exe (which I downloaded from No, he spoke about an other tool (written by me) which is still not full tested. The current solutions are the following: 1) Use the linker 2.5.2 (which is distributed also with that package) 2) Remove all aout object files from the library and link them explicit on commandline to your program. 3) Apply the following patch to the binutils 2.7 sources --------CUT HERE--------- *** coff-i38.c~ Thu Jul 4 16:17:52 1996 --- coff-i38.c Fri Jan 17 16:14:08 1997 *************** *** 334,340 **** --- 334,342 ---- } /* We use the special COFF backend linker. */ + #if 0 #define coff_relocate_section _bfd_coff_generic_relocate_section + #endif static reloc_howto_type * coff_i386_rtype_to_howto (abfd, sec, rel, h, sym, addendp) --------CUT HERE----------- and rebuild the linker. The resulting ld.exe will run slower, because it uses now the general slow linking routines, but it can handle now also mixed object formats in a library. Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************