www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/20/19:57:05

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199606202347.AA025784464@relay1.geis.com>
Date: Thu, 20 Jun 96 23:31:00 UTC 0000
To: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: Problems with gcc 2-7-2

Reply to message 5950326    from ELIZ AT IS DOT ELTA. on 06/20/96  1:29PM


>>   with <size> >= 4194304 you get the following message :
>>
>> c:/djgpp2/tmp\ccxaaaaa: could not read symbols: Bad value
>
>This happens with ld.exe from both v2 and v1.12, so I cannot see how
>could it work in v1 (unless you used v1.11).  That seems to belong to the
>bug in Binutils 2.5.2 that generally makes ld fail for large data sizes
>(either in object files or in libraries).  I don't know about any
>workaround except using ld.exe from v1.11, sorry.

This may be a little too obvious, but why not just declare the var as
a pointer to int and malloc() the required space?  Seems finding an
old version of ld and trying to make it work with v2 is the hard way
to do things!  :)

John

- Raw text -


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