Mail Archives: djgpp/1996/08/07/14:45:16
Francois Charton <deef AT pobox DOT oleane DOT com> 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 |
+--------------------------------------------------------------------------+
- Raw text -