Date: Sun, 23 Jun 1996 09:58:59 +0200 (IST) From: Eli Zaretskii To: j DOT aldrich6 AT genie DOT com Cc: djgpp AT delorie DOT com Subject: Re: Problems with gcc 2-7-2 In-Reply-To: <199606202347.AA025784464@relay1.geis.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 20 Jun 1996 j DOT aldrich6 AT genie DOT com wrote: > 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! :) Maybe a hard way, but sometimes inevitable. The posted code was only a trivial example, the bug is still there and might bite you in less trivial situations when the `malloc' solution is not an option, at least not an easy one. And btw, there is no problem in getting a v1.x ld.exe work with DJGPP v2. Just replace your v2 ld.exe and make sure you got go32.exe somewhere on your PATH. Works like a charm.