Xref: news2.mv.net comp.os.msdos.djgpp:6778 From: KendallB AT scitechsoft DOT com (Kendall Bennett) Newsgroups: comp.os.msdos.djgpp Subject: Re: Re : compiling povray 3.0 with djgpp Date: Sat, 03 Aug 1996 17:50:13 GMT Organization: SciTech Software Lines: 44 Message-ID: <4u03i1$mq0@nntp.sierra.net> References: <31FD5098 DOT 4743 AT pobox DOT oleane DOT com> Reply-To: KendallB AT scitechsoft DOT com NNTP-Posting-Host: 207.135.220.4 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Francois Charton wrote: >When trying to compile povray 3.0 with djgpp 2.0, djgpp dies while >linking pmode.a saying : "memory exhausted". This is a bug in the LD 2.5.2 linker that is provided with DJGPP V2. I thought Chris Young was going to put a note in the POVRay 3.0 code saying that you need the older LD 2.4 linker to get anything to link with our PMODE libraries. Charles Sandmann sent me a copy of an older version of the linker that can be used to solve this problem. You can log onto our ftp site and download this linker: ftp.scitechsoft.com: /devel/ld24.zip >As regards the infamous "gnu-ld" bug (which kills gcc when linking either >large libraries or libraries which include large static arrays), this >error occurs on a rather small module (around 1800 bytes long), and >cannot be cured by splitting the library into several smaller ones : if >instead of linking _pmlite.o, you build a library pmlite.a containing >ONLY _pmlite.o, ld still chokes... This is because _PMLITE.O was created from TASM'ed assembler source passed through the EMXAOUT converter utility. There is a bug in LD that many people know about, and now that I have isolated a small case of the problem I have emailed DJ about it and hope that he (or someone else) can find a fix. I would fix it myself, but I am a newbie when it comes to building and debugging any of the DJGPP components. Regards, +--------------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------------+