delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/29/04:59:42

Date: Mon, 29 Jul 1996 11:55:20 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Francois Charton <deef AT pobox DOT oleane DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: compiling povray 3.0 with djgpp
In-Reply-To: <31FC7895.241@pobox.oleane.com>
Message-Id: <Pine.SUN.3.91.960729115002.26496A-100000@is>
Mime-Version: 1.0

On Mon, 29 Jul 1996, Francois Charton wrote:

> gcc seems to dislike] (and I always thought mather() was a pretty 
> standard function...)

Wrong.  `matherr' is not defined neither by ANSI nor by POSIX.

> 2/ Djgpp 2.0 : I can get all *.c into *.o, but djgpp dies on linking with 
> a "pmode.a : could not read symbols : Memory exhausted".
> Now, the FAQ tells about a gnu-binutil bug, which just dies this way when 
> linking *large* libraries, but pmode.a is only 49K.

The FAQ (at least the latest version 2.01) also refers to this problem:

   **Q*: Whenever I define very large static arrays in my program, the
   linker fails saying "could not read symbols: Bad value".  Huh??*

and gives the following advice to work around it:

   * For a module that defines large data structures, move some of the
     static data to other files, or allocate the space at runtime with
     `calloc.'

Is this applicable to your case?  If so, did you try this?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019